diff options
-rw-r--r-- | net/bluetooth/hci_core.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/net/bluetooth/hci_core.c b/net/bluetooth/hci_core.c index 75cf447ca000..ab547277f909 100644 --- a/net/bluetooth/hci_core.c +++ b/net/bluetooth/hci_core.c | |||
@@ -1346,14 +1346,17 @@ static void le_setup(struct hci_request *req) | |||
1346 | /* Read LE Local Supported Features */ | 1346 | /* Read LE Local Supported Features */ |
1347 | hci_req_add(req, HCI_OP_LE_READ_LOCAL_FEATURES, 0, NULL); | 1347 | hci_req_add(req, HCI_OP_LE_READ_LOCAL_FEATURES, 0, NULL); |
1348 | 1348 | ||
1349 | /* Read LE Supported States */ | ||
1350 | hci_req_add(req, HCI_OP_LE_READ_SUPPORTED_STATES, 0, NULL); | ||
1351 | |||
1349 | /* Read LE Advertising Channel TX Power */ | 1352 | /* Read LE Advertising Channel TX Power */ |
1350 | hci_req_add(req, HCI_OP_LE_READ_ADV_TX_POWER, 0, NULL); | 1353 | hci_req_add(req, HCI_OP_LE_READ_ADV_TX_POWER, 0, NULL); |
1351 | 1354 | ||
1352 | /* Read LE White List Size */ | 1355 | /* Read LE White List Size */ |
1353 | hci_req_add(req, HCI_OP_LE_READ_WHITE_LIST_SIZE, 0, NULL); | 1356 | hci_req_add(req, HCI_OP_LE_READ_WHITE_LIST_SIZE, 0, NULL); |
1354 | 1357 | ||
1355 | /* Read LE Supported States */ | 1358 | /* Clear LE White List */ |
1356 | hci_req_add(req, HCI_OP_LE_READ_SUPPORTED_STATES, 0, NULL); | 1359 | hci_req_add(req, HCI_OP_LE_CLEAR_WHITE_LIST, 0, NULL); |
1357 | 1360 | ||
1358 | /* LE-only controllers have LE implicitly enabled */ | 1361 | /* LE-only controllers have LE implicitly enabled */ |
1359 | if (!lmp_bredr_capable(hdev)) | 1362 | if (!lmp_bredr_capable(hdev)) |