|
@@ -1686,6 +1686,10 @@ static void hci_init4_req(struct hci_request *req, unsigned long opt)
|
|
|
if (hdev->commands[22] & 0x04)
|
|
|
hci_set_event_mask_page_2(req);
|
|
|
|
|
|
+ /* Read local codec list if the HCI command is supported */
|
|
|
+ if (hdev->commands[29] & 0x20)
|
|
|
+ hci_req_add(req, HCI_OP_READ_LOCAL_CODECS, 0, NULL);
|
|
|
+
|
|
|
/* Check for Synchronization Train support */
|
|
|
if (lmp_sync_train_capable(hdev))
|
|
|
hci_req_add(req, HCI_OP_READ_SYNC_TRAIN_PARAMS, 0, NULL);
|