linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] Bluetooth: btusb: Add Qualcomm Atheros AR3006 in blacklist_table
@ 2011-11-16 11:09 Yao, Costa
  2011-11-16 13:29 ` Marcel Holtmann
  0 siblings, 1 reply; 10+ messages in thread
From: Yao, Costa @ 2011-11-16 11:09 UTC (permalink / raw)
  To: marcel@holtmann.org, padovan@profusion.mobi,
	linux-bluetooth@vger.kernel.org

Add Qualcomm Atheros AR3006 entry in blacklist_table in btusb.c for bcdDevi=
ce check.

Signed-off-by: Costa Yao <cqyao@qca.qualcomm.com>
---
 drivers/bluetooth/btusb.c |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/drivers/bluetooth/btusb.c b/drivers/bluetooth/btusb.c
index 39dd65c..94124ad 100644
--- a/drivers/bluetooth/btusb.c
+++ b/drivers/bluetooth/btusb.c
@@ -55,6 +55,7 @@ static struct usb_driver btusb_driver;
 #define BTUSB_BROKEN_ISOC	0x20
 #define BTUSB_WRONG_SCO_MTU	0x40
 #define BTUSB_ATH3012		0x80
+#define BTUSB_ATH3006		0x0100
=20
 static struct usb_device_id btusb_table[] =3D {
 	/* Bluetooth USB interface */
@@ -125,6 +126,7 @@ static struct usb_device_id blacklist_table[] =3D {
=20
 	/* Atheros 3012 with sflash firmware */
 	{ USB_DEVICE(0x0cf3, 0x3004), .driver_info =3D BTUSB_ATH3012 },
+	{ USB_DEVICE(0x0cf3, 0x3006), .driver_info =3D BTUSB_ATH3006 },
=20
 	/* Atheros AR5BBU12 with sflash firmware */
 	{ USB_DEVICE(0x0489, 0xe02c), .driver_info =3D BTUSB_IGNORE },
@@ -937,7 +939,8 @@ static int btusb_probe(struct usb_interface *intf,
 	if (ignore_sniffer && id->driver_info & BTUSB_SNIFFER)
 		return -ENODEV;
=20
-	if (id->driver_info & BTUSB_ATH3012) {
+	if ((id->driver_info & BTUSB_ATH3012) ||
+				(id->driver_info & BTUSB_ATH3006)) {
 		struct usb_device *udev =3D interface_to_usbdev(intf);
=20
 		/* Old firmware would otherwise let ath3k driver load
--=20
1.7.4.1

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

end of thread, other threads:[~2011-11-22  2:43 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-11-16 11:09 [PATCH] Bluetooth: btusb: Add Qualcomm Atheros AR3006 in blacklist_table Yao, Costa
2011-11-16 13:29 ` Marcel Holtmann
2011-11-17  5:15   ` Yao, Costa
2011-11-17 15:51     ` Marcel Holtmann
2011-11-18  2:22       ` Yao, Costa
2011-11-18  5:17         ` Marcel Holtmann
2011-11-18  6:15           ` Yao, Costa
2011-11-18  7:48             ` Marcel Holtmann
2011-11-21 16:16             ` Gustavo Padovan
2011-11-22  2:43               ` Yao, Costa

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).