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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 1 Oct 2020 18:40:05 +0000 (20:40 +0200)
[ Upstream commit 5b362498a79631f283578b64bf6f4d15ed4cc19a ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/net/wireless/ath/ar5523/ar5523.c

index e492c7f0d311ac86b0864d09f992db774fea9c60..9f4ee1d125b686295a7a504817544c7ce7c7c87f 100644 (file)
@@ -1769,6 +1769,8 @@ static 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 */