2008-02-08 12:49:46

by Daniel Drake

[permalink] [raw]
Subject: [PATCH RESEND] hci_usb: another device with buggy SCO support

As reported at:
https://bugs.gentoo.org/show_bug.cgi?id=203196
https://bugs.launchpad.net/ubuntu/+source/linux-source-2.6.22/+bug/152689

This unbranded bluetooth USB dongle causes the following message to
repeatedly appear in the kernel logs:
hci_scodata_packet: hci0 SCO packet for unknown connection handle 92

This patch solves the issue. I'm not sure of its correctness, it is based
on work by Ossi Berg and Tim Gardner on the Ubuntu bug tracker.

Signed-off-by: Daniel Drake <[email protected]>

---

resending due to no response after 2 weeks

diff --git a/drivers/bluetooth/hci_usb.c b/drivers/bluetooth/hci_usb.c
index 98a9cde..fa3f0de 100644
--- a/drivers/bluetooth/hci_usb.c
+++ b/drivers/bluetooth/hci_usb.c
@@ -161,6 +161,9 @@ static struct usb_device_id blacklist_ids[] = {
/* Frontline ComProbe Bluetooth Sniffer */
{ USB_DEVICE(0x16d3, 0x0002), .driver_info = HCI_SNIFFER },

+ /* Generic/no-name device with buggy SCO support */
+ { USB_DEVICE(0x0e5e, 0x6622), .driver_info = HCI_BROKEN_ISOC },
+
{ } /* Terminating entry */
};