diff --git a/net/bluetooth/mgmt.c b/net/bluetooth/mgmt.c index bd91ee5f130ca4333765ed739e1ab51ad125f02d..074d83690a414c8e668499d7f7e7c86215c563ea 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) struct hci_cp_write_page_scan_activity acp; u8 type; + if (!test_bit(HCI_BREDR_ENABLED, &hdev->dev_flags)) + return; + if (hdev->hci_ver < BLUETOOTH_VER_1_2) return;