diff options
Diffstat (limited to 'net/bluetooth/hci_core.c')
-rw-r--r-- | net/bluetooth/hci_core.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/net/bluetooth/hci_core.c b/net/bluetooth/hci_core.c index 036e14267d0a..ce2447d89ce1 100644 --- a/net/bluetooth/hci_core.c +++ b/net/bluetooth/hci_core.c | |||
@@ -720,6 +720,11 @@ static int hci_init3_req(struct hci_request *req, unsigned long opt) | |||
720 | 0, NULL); | 720 | 0, NULL); |
721 | } | 721 | } |
722 | 722 | ||
723 | if (hdev->commands[34] & 0x20) { | ||
724 | /* Clear LE Resolving List */ | ||
725 | hci_req_add(req, HCI_OP_LE_CLEAR_RESOLV_LIST, 0, NULL); | ||
726 | } | ||
727 | |||
723 | if (hdev->le_features[0] & HCI_LE_DATA_LEN_EXT) { | 728 | if (hdev->le_features[0] & HCI_LE_DATA_LEN_EXT) { |
724 | /* Read LE Maximum Data Length */ | 729 | /* Read LE Maximum Data Length */ |
725 | hci_req_add(req, HCI_OP_LE_READ_MAX_DATA_LEN, 0, NULL); | 730 | hci_req_add(req, HCI_OP_LE_READ_MAX_DATA_LEN, 0, NULL); |