diff options
Diffstat (limited to 'drivers/net/wireless/rt2x00/rt2500usb.c')
-rw-r--r-- | drivers/net/wireless/rt2x00/rt2500usb.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/net/wireless/rt2x00/rt2500usb.c b/drivers/net/wireless/rt2x00/rt2500usb.c index 795706d63b94..00611b32d08b 100644 --- a/drivers/net/wireless/rt2x00/rt2500usb.c +++ b/drivers/net/wireless/rt2x00/rt2500usb.c | |||
@@ -1546,7 +1546,9 @@ static int rt2500usb_init_eeprom(struct rt2x00_dev *rt2x00dev) | |||
1546 | rt2500usb_register_read(rt2x00dev, MAC_CSR0, ®); | 1546 | rt2500usb_register_read(rt2x00dev, MAC_CSR0, ®); |
1547 | rt2x00_set_chip(rt2x00dev, RT2570, value, reg); | 1547 | rt2x00_set_chip(rt2x00dev, RT2570, value, reg); |
1548 | 1548 | ||
1549 | if (!rt2x00_check_rev(&rt2x00dev->chip, 0x000ffff0, 0)) { | 1549 | if (!rt2x00_check_rev(&rt2x00dev->chip, 0x000ffff0, 0) || |
1550 | rt2x00_check_rev(&rt2x00dev->chip, 0x0000000f, 0)) { | ||
1551 | |||
1550 | ERROR(rt2x00dev, "Invalid RT chipset detected.\n"); | 1552 | ERROR(rt2x00dev, "Invalid RT chipset detected.\n"); |
1551 | return -ENODEV; | 1553 | return -ENODEV; |
1552 | } | 1554 | } |