diff mbox series

ar5523: Add USB ID of SMCWUSBT-G2 wireless adapter

Message ID 20200116111125.28915-1-mertdirik@gmail.com (mailing list archive)
State Accepted
Commit 5b362498a79631f283578b64bf6f4d15ed4cc19a
Delegated to: Kalle Valo
Headers show
Series ar5523: Add USB ID of SMCWUSBT-G2 wireless adapter | expand

Commit Message

Mert Dirik Jan. 16, 2020, 11:11 a.m. UTC
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>
---
 drivers/net/wireless/ath/ar5523/ar5523.c | 2 ++
 1 file changed, 2 insertions(+)

Comments

Kalle Valo Jan. 26, 2020, 2:35 p.m. UTC | #1
Mert Dirik <mertdirik@gmail.com> wrote:

> 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>

Patch applied to ath-next branch of ath.git, thanks.

5b362498a796 ar5523: Add USB ID of SMCWUSBT-G2 wireless adapter
diff mbox series

Patch

diff --git a/drivers/net/wireless/ath/ar5523/ar5523.c b/drivers/net/wireless/ath/ar5523/ar5523.c
index da2d179430ca..4c57e79e5779 100644
--- a/drivers/net/wireless/ath/ar5523/ar5523.c
+++ b/drivers/net/wireless/ath/ar5523/ar5523.c
@@ -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 */