Staging: rtl8712/rtl8192u: move USB device ID within staging drivers.
authorMartin Krause <martin.krause@tqs.de>
Fri, 2 Mar 2012 12:01:40 +0000 (13:01 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 3 Mar 2012 00:36:38 +0000 (16:36 -0800)
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>
drivers/staging/rtl8192u/r8192U_core.c
drivers/staging/rtl8712/usb_intf.c

index c09be0a6646752a8cb25d369529a8488f01ad1a5..9c00865f302a1d675746b37937cceceac28e4f08 100644 (file)
@@ -105,7 +105,6 @@ u32 rt_global_debug_component = \
 
 static const struct usb_device_id rtl8192_usb_id_tbl[] = {
        /* Realtek */
-       {USB_DEVICE(0x0bda, 0x8192)},
        {USB_DEVICE(0x0bda, 0x8709)},
        /* Corega */
        {USB_DEVICE(0x07aa, 0x0043)},
index f8fbb57002f8a1db2543d81ddcfc8cd443629ed1..b0c4cdba22291305ed6bcc29a9cde08a9f1a21a6 100644 (file)
@@ -106,6 +106,7 @@ static struct usb_device_id rtl871x_usb_id_tbl[] = {
 /* RTL8191SU */
        /* Realtek */
        {USB_DEVICE(0x0BDA, 0x8172)},
+       {USB_DEVICE(0x0BDA, 0x8192)},
        /* Amigo */
        {USB_DEVICE(0x0EB0, 0x9061)},
        /* ASUS/EKB */