diff options
author | Ivo van Doorn <ivdoorn@gmail.com> | 2008-02-10 16:50:58 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2008-02-29 15:37:20 -0500 |
commit | 417f412f2dfae016e29bb128bece60bf75d94d48 (patch) | |
tree | 2c64db23952d1f5fab2dcfffec390159727d5291 /drivers | |
parent | 68598d294b6bc1ecc418359994234cb43f4635ad (diff) |
rt2x00: Fix typo in debug statement
The second eeprom recovery message is about
the RSSI offset for ieee802.11 A.
Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/wireless/rt2x00/rt61pci.c | 2 | ||||
-rw-r--r-- | drivers/net/wireless/rt2x00/rt73usb.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/rt2x00/rt61pci.c b/drivers/net/wireless/rt2x00/rt61pci.c index a8ec910e5475..6e7cbe8f4e32 100644 --- a/drivers/net/wireless/rt2x00/rt61pci.c +++ b/drivers/net/wireless/rt2x00/rt61pci.c | |||
@@ -1880,7 +1880,7 @@ static int rt61pci_validate_eeprom(struct rt2x00_dev *rt2x00dev) | |||
1880 | rt2x00_set_field16(&word, EEPROM_RSSI_OFFSET_A_1, 0); | 1880 | rt2x00_set_field16(&word, EEPROM_RSSI_OFFSET_A_1, 0); |
1881 | rt2x00_set_field16(&word, EEPROM_RSSI_OFFSET_A_2, 0); | 1881 | rt2x00_set_field16(&word, EEPROM_RSSI_OFFSET_A_2, 0); |
1882 | rt2x00_eeprom_write(rt2x00dev, EEPROM_RSSI_OFFSET_A, word); | 1882 | rt2x00_eeprom_write(rt2x00dev, EEPROM_RSSI_OFFSET_A, word); |
1883 | EEPROM(rt2x00dev, "RSSI OFFSET BG: 0x%04x\n", word); | 1883 | EEPROM(rt2x00dev, "RSSI OFFSET A: 0x%04x\n", word); |
1884 | } else { | 1884 | } else { |
1885 | value = rt2x00_get_field16(word, EEPROM_RSSI_OFFSET_A_1); | 1885 | value = rt2x00_get_field16(word, EEPROM_RSSI_OFFSET_A_1); |
1886 | if (value < -10 || value > 10) | 1886 | if (value < -10 || value > 10) |
diff --git a/drivers/net/wireless/rt2x00/rt73usb.c b/drivers/net/wireless/rt2x00/rt73usb.c index f910d83e88f2..d2096d2dd993 100644 --- a/drivers/net/wireless/rt2x00/rt73usb.c +++ b/drivers/net/wireless/rt2x00/rt73usb.c | |||
@@ -1500,7 +1500,7 @@ static int rt73usb_validate_eeprom(struct rt2x00_dev *rt2x00dev) | |||
1500 | rt2x00_set_field16(&word, EEPROM_RSSI_OFFSET_A_1, 0); | 1500 | rt2x00_set_field16(&word, EEPROM_RSSI_OFFSET_A_1, 0); |
1501 | rt2x00_set_field16(&word, EEPROM_RSSI_OFFSET_A_2, 0); | 1501 | rt2x00_set_field16(&word, EEPROM_RSSI_OFFSET_A_2, 0); |
1502 | rt2x00_eeprom_write(rt2x00dev, EEPROM_RSSI_OFFSET_A, word); | 1502 | rt2x00_eeprom_write(rt2x00dev, EEPROM_RSSI_OFFSET_A, word); |
1503 | EEPROM(rt2x00dev, "RSSI OFFSET BG: 0x%04x\n", word); | 1503 | EEPROM(rt2x00dev, "RSSI OFFSET A: 0x%04x\n", word); |
1504 | } else { | 1504 | } else { |
1505 | value = rt2x00_get_field16(word, EEPROM_RSSI_OFFSET_A_1); | 1505 | value = rt2x00_get_field16(word, EEPROM_RSSI_OFFSET_A_1); |
1506 | if (value < -10 || value > 10) | 1506 | if (value < -10 || value > 10) |