aboutsummarylogtreecommitdiffstats
path: root/btusb.patch
blob: 90a63e7d40ad4c8cf36b7ab830f6780fdb67a644 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- a/btusb.c	2020-06-27 17:40:20.667192656 -0300
+++ b/btusb.c	2020-06-27 17:50:51.051754917 -0300
@@ -1652,6 +1652,7 @@
 
 	/* Detect controllers which aren't real CSR ones. */
 	if (le16_to_cpu(rp->manufacturer) != 10 ||
+	    le16_to_cpu(rp->lmp_subver) == 0x0811 ||
 	    le16_to_cpu(rp->lmp_subver) == 0x0c5c) {
 		/* Clear the reset quirk since this is not an actual
 		 * early Bluetooth 1.1 device from CSR.
@@ -3892,7 +3893,8 @@
 			set_bit(HCI_QUIRK_RESET_ON_CLOSE, &hdev->quirks);
 
 		/* Fake CSR devices with broken commands */
-		if (bcdDevice <= 0x100 || bcdDevice == 0x134)
+		if (bcdDevice <= 0x100 || bcdDevice == 0x134 ||
+		    bcdDevice == 0x8891)
 			hdev->setup = btusb_setup_csr;
 
 		set_bit(HCI_QUIRK_SIMULTANEOUS_DISCOVERY, &hdev->quirks);