Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Staging: rtl8712/rtl8192u: move USB device ID within staging drivers.

It seems the USB device ID 0bda:8192 is wrongly assigned to the
RTL8192SU chip and not to the RTL8191SU chip in the USB database.
So this patch moves this device ID from the rtl8192u staging
driver to the rtl8712 staging driver.

This patch was tested with a Radicom WIFIHU embedded wireless
module with a RTL8191SU chip and the USB device ID 0bda:8192.
Without the patch the rtl8192u driver claims this device, but
it does not work. With the patch the rtl8712 driver services
this device and it works.

Signed-off-by: Martin Krause <martin.krause@tqs.de>
Acked-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Martin Krause and committed by
Greg Kroah-Hartman
07b99cf5 53471702

+1 -1
-1
drivers/staging/rtl8192u/r8192U_core.c
··· 105 105 106 106 static const struct usb_device_id rtl8192_usb_id_tbl[] = { 107 107 /* Realtek */ 108 - {USB_DEVICE(0x0bda, 0x8192)}, 109 108 {USB_DEVICE(0x0bda, 0x8709)}, 110 109 /* Corega */ 111 110 {USB_DEVICE(0x07aa, 0x0043)},
+1
drivers/staging/rtl8712/usb_intf.c
··· 106 106 /* RTL8191SU */ 107 107 /* Realtek */ 108 108 {USB_DEVICE(0x0BDA, 0x8172)}, 109 + {USB_DEVICE(0x0BDA, 0x8192)}, 109 110 /* Amigo */ 110 111 {USB_DEVICE(0x0EB0, 0x9061)}, 111 112 /* ASUS/EKB */