]> git.ipfire.org Git - thirdparty/linux.git/commit
Bluetooth: Always allow SCO packets for user channel
authorHsin-chen Chuang <chharry@chromium.org>
Fri, 14 Feb 2025 11:17:09 +0000 (19:17 +0800)
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Thu, 20 Feb 2025 18:25:08 +0000 (13:25 -0500)
commitbd30e8d7bfa6e528f9e746c940e6f7246c7899d6
treee9526a1b516e8b429feb838f1a7f5116cadb3496
parentdd3188ddc4c49cb234b82439693121d2c1c69c38
Bluetooth: Always allow SCO packets for user channel

The SCO packets from Bluetooth raw socket are now rejected because
hci_conn_num is left 0. This patch allows such the usecase to enable
the userspace SCO support.

Fixes: b16b327edb4d ("Bluetooth: btusb: add sysfs attribute to control USB alt setting")
Signed-off-by: Hsin-chen Chuang <chharry@chromium.org>
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
drivers/bluetooth/btusb.c