diff options
author | David S. Miller <davem@davemloft.net> | 2009-07-23 22:03:51 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-07-23 22:03:51 -0400 |
commit | 74d154189d597b91da4322996dbf4f5c3d1544ab (patch) | |
tree | 6f09861b5e2f875d2d8ea2127b16add9103221c6 /drivers/net/wireless/rt2x00 | |
parent | 5a6338db37885af06760d40cad589316e48431e9 (diff) | |
parent | ffafa60d496f80c250f2ae0340ae94434c0b0b4d (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.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 | } |