Search Linux Wireless

[PATCH] rt2x00: remove USB-ID 148f:2573 from rt2500usb driver

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The drivers rt2500usb and rt73usb both contain the usb id 148f:2573 while only 
the latter is suitable for devices with that id.

As a consequence, both drivers will be loaded and system log shows messages 
like "rt2500usb_init_eeprom: Error - Invalid RT chipset detected".

If you use the above search term, you will find more than 1500 hits with a 
well known search engine, confirming that rt2500usb is always the wrong 
driver for devices with usb id 148f:2573 and quite often as a side effect 
confusion arose about this -non fatal but misleading- error message in the 
respective bug reports or threads.

This trivial patch removes the id 148f:2573 from rt2500usb driver.

Signed-off-by:  Axel Koellhofer <rain_maker@xxxxxxxxxxxxxx>
---

diff -Naur a/drivers/net/wireless/rt2x00/rt2500usb.c 
b/drivers/net/wireless/rt2x00/rt2500usb.c
--- a/drivers/net/wireless/rt2x00/rt2500usb.c	2010-05-03 16:03:29.572101896 
+0200
+++ b/drivers/net/wireless/rt2x00/rt2500usb.c	2010-05-03 16:03:51.902854565 
+0200
@@ -1879,7 +1879,6 @@
 	/* Ralink */
 	{ USB_DEVICE(0x148f, 0x1706), USB_DEVICE_DATA(&rt2500usb_ops) },
 	{ USB_DEVICE(0x148f, 0x2570), USB_DEVICE_DATA(&rt2500usb_ops) },
-	{ USB_DEVICE(0x148f, 0x2573), USB_DEVICE_DATA(&rt2500usb_ops) },
 	{ USB_DEVICE(0x148f, 0x9020), USB_DEVICE_DATA(&rt2500usb_ops) },
 	/* Sagem */
 	{ USB_DEVICE(0x079b, 0x004b), USB_DEVICE_DATA(&rt2500usb_ops) },
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux