aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/net/wireless/rt2x00/rt61pci.c2
-rw-r--r--drivers/net/wireless/rt2x00/rt73usb.c2
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)