]> www.infradead.org Git - users/dwmw2/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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 1 Oct 2020 11:12:32 +0000 (13:12 +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 ad4a1efc57c97ea858653f612a70c612523117b8..e1a1d27427cc9f568daa29ef64481619775219ff 100644 (file)
@@ -1771,6 +1771,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 */