public inbox for stable@vger.kernel.org
 help / color / mirror / Atom feed
* bluetooth issues since kernel 6.4 - not discovering other bt devices - /linux/drivers/bluetooth/btusb.c
@ 2023-10-01  5:47 Erik Dobák
  2023-10-01  6:11 ` Greg KH
  2023-10-02 23:46 ` Bagas Sanjaya
  0 siblings, 2 replies; 11+ messages in thread
From: Erik Dobák @ 2023-10-01  5:47 UTC (permalink / raw)
  To: stable

Hello!

I bought a new laptop fujitsu life book and everything is going fine
on artix just the bt makes trouble:

/var/log/error.log
Sep 30 18:43:48 nexus bluetoothd[2266]:
src/adapter.c:reset_adv_monitors_complete() Failed to reset Adv
Monitors: Failed (0x03)
Sep 30 18:43:48 nexus bluetoothd[2266]: Failed to clear UUIDs: Failed (0x03)
Sep 30 18:43:48 nexus bluetoothd[2266]: Failed to add UUID: Failed (0x03)
Sep 30 18:43:48 nexus bluetoothd[2266]: Failed to add UUID: Failed (0x03)

i searched a bit the webs and found a new commit at kernel org that
does do the trouble:
https://bugs.archlinux.org/task/78980

follow the linkeys inside the commits there or read this one:

---------------before------------------------------------
/* interface numbers are hardcoded in the spec */
        if (intf->cur_altsetting->desc.bInterfaceNumber != 0) {
                if (!(id->driver_info & BTUSB_IFNUM_2))
                        return -ENODEV;
                if (intf->cur_altsetting->desc.bInterfaceNumber != 2)
                        return -ENODEV;
        }
-----------after----------------------------------------------------
if ((id->driver_info & BTUSB_IFNUM_2) &&
    (intf->cur_altsetting->desc.bInterfaceNumber != 0) &&
    (intf->cur_altsetting->desc.bInterfaceNumber != 2))
return -ENODEV;
--------------------------------------------------------

the dude just hooked up 3 conditions in a row with && where before it
was 2 conditions in 1 condition. + the comment was removed.


please reconsider this commit.

Yours

E

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2023-10-04  6:35 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-10-01  5:47 bluetooth issues since kernel 6.4 - not discovering other bt devices - /linux/drivers/bluetooth/btusb.c Erik Dobák
2023-10-01  6:11 ` Greg KH
2023-10-01  6:25   ` Erik Dobák
2023-10-02 23:46 ` Bagas Sanjaya
2023-10-03 12:25   ` Erik Dobák
2023-10-03 12:31     ` Tomasz Moń
2023-10-03 12:42       ` Erik Dobák
2023-10-03 13:08         ` Tomasz Moń
2023-10-03 16:10           ` Erik Dobák
2023-10-04  5:20             ` Linux regression tracking (Thorsten Leemhuis)
2023-10-04  6:35               ` Erik Dobák

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox