Commit 65251e2e authored by Alex Lu's avatar Alex Lu Committed by Marcel Holtmann

Bluetooth: btrtl: Set HCI_QUIRK_SIMULTANEOUS_DISCOVERY

Realtek Bluetooth controllers can do both LE scan and BR/EDR inquiry
at once, need to set HCI_QUIRK_SIMULTANEOUS_DISCOVERY quirk.
Signed-off-by: default avatarAlex Lu <alex_lu@realsil.com.cn>
Signed-off-by: default avatarMarcel Holtmann <marcel@holtmann.org>
parent 010376ab
...@@ -641,6 +641,11 @@ int btrtl_setup_realtek(struct hci_dev *hdev) ...@@ -641,6 +641,11 @@ int btrtl_setup_realtek(struct hci_dev *hdev)
btrtl_free(btrtl_dev); btrtl_free(btrtl_dev);
/* Enable controller to do both LE scan and BR/EDR inquiry
* simultaneously.
*/
set_bit(HCI_QUIRK_SIMULTANEOUS_DISCOVERY, &hdev->quirks);
return ret; return ret;
} }
EXPORT_SYMBOL_GPL(btrtl_setup_realtek); EXPORT_SYMBOL_GPL(btrtl_setup_realtek);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment