aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/rt2x00
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2009-07-23 22:03:51 -0400
committerDavid S. Miller <davem@davemloft.net>2009-07-23 22:03:51 -0400
commit74d154189d597b91da4322996dbf4f5c3d1544ab (patch)
tree6f09861b5e2f875d2d8ea2127b16add9103221c6 /drivers/net/wireless/rt2x00
parent5a6338db37885af06760d40cad589316e48431e9 (diff)
parentffafa60d496f80c250f2ae0340ae94434c0b0b4d (diff)
Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6
Conflicts: drivers/net/wireless/iwmc3200wifi/netdev.c net/wireless/scan.c
Diffstat (limited to 'drivers/net/wireless/rt2x00')
-rw-r--r--drivers/net/wireless/rt2x00/rt2500usb.c4
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, &reg); 1546 rt2500usb_register_read(rt2x00dev, MAC_CSR0, &reg);
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 }