-
-
Save carlocaione/79aec1f38f58b829cd09 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/btusb.c b/btusb.c | |
index 550fec1..1147684 100644 | |
--- a/btusb.c | |
+++ b/btusb.c | |
@@ -3234,8 +3234,12 @@ static int btusb_probe(struct usb_interface *intf, | |
if (id->driver_info & BTUSB_RTL8723A) | |
hdev->setup = btusb_setup_rtl8723a; | |
- if (id->driver_info & BTUSB_RTL8723B) | |
+ if (id->driver_info & BTUSB_RTL8723B) { | |
+ set_bit(HCI_QUIRK_RESET_ON_CLOSE, &hdev->quirks); | |
+ if (!device_may_wakeup(&(data->udev->dev))) | |
+ intf->needs_binding = 1; | |
hdev->setup = btusb_setup_rtl8723b; | |
+ } | |
if (id->driver_info & BTUSB_INTEL) { | |
hdev->setup = btusb_setup_intel; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment