]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
ar5523: Add USB ID of SMCWUSBT-G2 wireless adapter
authorMert Dirik <mertdirik@gmail.com>
Thu, 16 Jan 2020 11:11:25 +0000 (14:11 +0300)
committerKalle Valo <kvalo@codeaurora.org>
Sun, 26 Jan 2020 14:35:14 +0000 (16:35 +0200)
Add the required USB ID for running SMCWUSBT-G2 wireless adapter (SMC
"EZ Connect g").

This device uses ar5523 chipset and requires firmware to be loaded. Even
though pid of the device is 4507, this patch adds it as 4506 so that
AR5523_DEVICE_UG macro can set the AR5523_FLAG_PRE_FIRMWARE flag for pid
4507.

Signed-off-by: Mert Dirik <mertdirik@gmail.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/ath/ar5523/ar5523.c

index da2d179430ca5a39e20239f0a7c6215730c6dde3..4c57e79e5779aad51b37f332807b2fe4f0adf43b 100644 (file)
@@ -1770,6 +1770,8 @@ static const struct usb_device_id ar5523_id_table[] = {
        AR5523_DEVICE_UX(0x0846, 0x4300),       /* Netgear / WG111U */
        AR5523_DEVICE_UG(0x0846, 0x4250),       /* Netgear / WG111T */
        AR5523_DEVICE_UG(0x0846, 0x5f00),       /* Netgear / WPN111 */
+       AR5523_DEVICE_UG(0x083a, 0x4506),       /* SMC / EZ Connect
+                                                  SMCWUSBT-G2 */
        AR5523_DEVICE_UG(0x157e, 0x3006),       /* Umedia / AR5523_1 */
        AR5523_DEVICE_UX(0x157e, 0x3205),       /* Umedia / AR5523_2 */
        AR5523_DEVICE_UG(0x157e, 0x3006),       /* Umedia / TEW444UBEU */