diff mbox series

[Bug,208965] not working bluetooth mouse low energy rtl8822ce

Message ID bug-208965-62941-C9USu8wXYZ@https.bugzilla.kernel.org/ (mailing list archive)
State New, archived
Headers show
Series [Bug,208965] not working bluetooth mouse low energy rtl8822ce | expand

Commit Message

bugzilla-daemon@bugzilla.kernel.org Nov. 26, 2020, 6:44 p.m. UTC
https://bugzilla.kernel.org/show_bug.cgi?id=208965

Steeve McCauley (steeve.mccauley@gmail.com) changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |steeve.mccauley@gmail.com

--- Comment #39 from Steeve McCauley (steeve.mccauley@gmail.com) ---
Also confirming that the patch works for the realtek 8761b usb bluetooth
adaptor, on all 5.9.x kernels I've patched and tested, including some fedora
kernels,

   cd
~/rpmbuild/BUILD/kernel-5.9.fc32/linux-5.9.8-100.fc32.x86_64/net/bluetooth/
$ diff -u hci_core.c~ hci_core.c
diff mbox series

Patch

--- hci_core.c~ 2020-11-17 16:36:11.387834274 -0500
+++ hci_core.c  2020-11-26 06:35:22.422411928 -0500
@@ -763,7 +763,7 @@ 
                        hci_req_add(req, HCI_OP_LE_CLEAR_RESOLV_LIST, 0, NULL);
                }

-               if (hdev->commands[35] & 0x40) {
+               if (hdev->commands[35] & 0x04) {
                        __le16 rpa_timeout = cpu_to_le16(hdev->rpa_timeout);

                        /* Set RPA timeout */