Bluetooth: Add Atheros AR3012 one PID/VID supported
commit4770ac2af6255b6c64d290606b54fa2e2bfcbe08
authorSteven.Li <Steven.Li@Atheros.com>
Fri, 1 Jul 2011 06:02:36 +0000 (1 14:02 +0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 11 Nov 2011 17:36:40 +0000 (11 09:36 -0800)
tree4cfd31ec8362f047574d2a4de902943c28b82985
parent39361fcb63d49f4036af08473c503e006e063ddc
Bluetooth: Add Atheros AR3012 one PID/VID supported

commit 2d25f8b462f3b849d8913d02978657ef06e67dd8 upstream.

The new Ath3k needs to download patch and radio table,
and it keeps same PID/VID even after downloading the patch and radio
table. This patch is to use the bcdDevice (Device Release Number) to
judge whether the chip has been patched or not. The init bcdDevice
value of the chip is 0x0001, this value increases after patch and
radio table downloading.

Signed-off-by: Steven.Li <yongli@qca.qualcomm.com>
Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/bluetooth/ath3k.c
drivers/bluetooth/btusb.c