diff mbox series

wifi: rtw88: 8821cu: Remove VID/PID 0bda:c82c

Message ID 335d7fa1-0ba5-4b86-bba5-f98834ace1f8@gmail.com (mailing list archive)
State Accepted
Delegated to: Ping-Ke Shih
Headers show
Series wifi: rtw88: 8821cu: Remove VID/PID 0bda:c82c | expand

Commit Message

Bitterblue Smith July 10, 2024, 10:14 p.m. UTC
From: Nick Morrow <morrownr@gmail.com>

Remove VID/PID 0bda:c82c as it was inadvertently added to the device
list in driver rtw8821cu. This VID/PID is for the rtw8822cu device
and it is already in the appropriate place for that device.

Cc: stable@vger.kernel.org
Signed-off-by: Nick Morrow <morrownr@gmail.com>
Signed-off-by: Bitterblue Smith <rtl8821cerfe2@gmail.com>
---
 drivers/net/wireless/realtek/rtw88/rtw8821cu.c | 2 --
 1 file changed, 2 deletions(-)

Comments

Ping-Ke Shih July 11, 2024, 1:06 a.m. UTC | #1
Bitterblue Smith <rtl8821cerfe2@gmail.com> wrote:
> 
> From: Nick Morrow <morrownr@gmail.com>
> 
> Remove VID/PID 0bda:c82c as it was inadvertently added to the device
> list in driver rtw8821cu. This VID/PID is for the rtw8822cu device
> and it is already in the appropriate place for that device.
> 
> Cc: stable@vger.kernel.org
> Signed-off-by: Nick Morrow <morrownr@gmail.com>
> Signed-off-by: Bitterblue Smith <rtl8821cerfe2@gmail.com>

Acked-by: Ping-Ke Shih <pkshih@realtek.com>

> ---
>  drivers/net/wireless/realtek/rtw88/rtw8821cu.c | 2 --
>  1 file changed, 2 deletions(-)
> 
> diff --git a/drivers/net/wireless/realtek/rtw88/rtw8821cu.c
> b/drivers/net/wireless/realtek/rtw88/rtw8821cu.c
> index e2c7d9f87683..a019f4085e73 100644
> --- a/drivers/net/wireless/realtek/rtw88/rtw8821cu.c
> +++ b/drivers/net/wireless/realtek/rtw88/rtw8821cu.c
> @@ -31,8 +31,6 @@ static const struct usb_device_id rtw_8821cu_id_table[] = {
>           .driver_info = (kernel_ulong_t)&(rtw8821c_hw_spec) },
>         { USB_DEVICE_AND_INTERFACE_INFO(RTW_USB_VENDOR_ID_REALTEK, 0xc82b, 0xff, 0xff, 0xff),
>           .driver_info = (kernel_ulong_t)&(rtw8821c_hw_spec) },
> -       { USB_DEVICE_AND_INTERFACE_INFO(RTW_USB_VENDOR_ID_REALTEK, 0xc82c, 0xff, 0xff, 0xff),
> -         .driver_info = (kernel_ulong_t)&(rtw8821c_hw_spec) },

Checked internal USB ID tables. Indeed this is RTL8822CU.

>         { USB_DEVICE_AND_INTERFACE_INFO(0x2001, 0x331d, 0xff, 0xff, 0xff),
>           .driver_info = (kernel_ulong_t)&(rtw8821c_hw_spec) }, /* D-Link */
>         { USB_DEVICE_AND_INTERFACE_INFO(0x7392, 0xc811, 0xff, 0xff, 0xff),
> --
> 2.45.2
Ping-Ke Shih July 17, 2024, 4:25 a.m. UTC | #2
Bitterblue Smith <rtl8821cerfe2@gmail.com> wrote:

> From: Nick Morrow <morrownr@gmail.com>
> 
> Remove VID/PID 0bda:c82c as it was inadvertently added to the device
> list in driver rtw8821cu. This VID/PID is for the rtw8822cu device
> and it is already in the appropriate place for that device.
> 
> Cc: stable@vger.kernel.org
> Signed-off-by: Nick Morrow <morrownr@gmail.com>
> Signed-off-by: Bitterblue Smith <rtl8821cerfe2@gmail.com>
> Acked-by: Ping-Ke Shih <pkshih@realtek.com>

1 patch(es) applied to rtw-next branch of rtw.git, thanks.

0af8cd2822f3 wifi: rtw88: 8821cu: Remove VID/PID 0bda:c82c

---
https://github.com/pkshih/rtw.git
diff mbox series

Patch

diff --git a/drivers/net/wireless/realtek/rtw88/rtw8821cu.c b/drivers/net/wireless/realtek/rtw88/rtw8821cu.c
index e2c7d9f87683..a019f4085e73 100644
--- a/drivers/net/wireless/realtek/rtw88/rtw8821cu.c
+++ b/drivers/net/wireless/realtek/rtw88/rtw8821cu.c
@@ -31,8 +31,6 @@  static const struct usb_device_id rtw_8821cu_id_table[] = {
 	  .driver_info = (kernel_ulong_t)&(rtw8821c_hw_spec) },
 	{ USB_DEVICE_AND_INTERFACE_INFO(RTW_USB_VENDOR_ID_REALTEK, 0xc82b, 0xff, 0xff, 0xff),
 	  .driver_info = (kernel_ulong_t)&(rtw8821c_hw_spec) },
-	{ USB_DEVICE_AND_INTERFACE_INFO(RTW_USB_VENDOR_ID_REALTEK, 0xc82c, 0xff, 0xff, 0xff),
-	  .driver_info = (kernel_ulong_t)&(rtw8821c_hw_spec) },
 	{ USB_DEVICE_AND_INTERFACE_INFO(0x2001, 0x331d, 0xff, 0xff, 0xff),
 	  .driver_info = (kernel_ulong_t)&(rtw8821c_hw_spec) }, /* D-Link */
 	{ USB_DEVICE_AND_INTERFACE_INFO(0x7392, 0xc811, 0xff, 0xff, 0xff),