diff options
Diffstat (limited to 'net/bluetooth')
-rw-r--r-- | net/bluetooth/mgmt.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/net/bluetooth/mgmt.c b/net/bluetooth/mgmt.c index bd91ee5f130c..074d83690a41 100644 --- a/net/bluetooth/mgmt.c +++ b/net/bluetooth/mgmt.c | |||
@@ -1307,6 +1307,9 @@ static void write_fast_connectable(struct hci_request *req, bool enable) | |||
1307 | struct hci_cp_write_page_scan_activity acp; | 1307 | struct hci_cp_write_page_scan_activity acp; |
1308 | u8 type; | 1308 | u8 type; |
1309 | 1309 | ||
1310 | if (!test_bit(HCI_BREDR_ENABLED, &hdev->dev_flags)) | ||
1311 | return; | ||
1312 | |||
1310 | if (hdev->hci_ver < BLUETOOTH_VER_1_2) | 1313 | if (hdev->hci_ver < BLUETOOTH_VER_1_2) |
1311 | return; | 1314 | return; |
1312 | 1315 | ||