aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/rt2x00/rt2500usb.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless/rt2x00/rt2500usb.c')
-rw-r--r--drivers/net/wireless/rt2x00/rt2500usb.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/drivers/net/wireless/rt2x00/rt2500usb.c b/drivers/net/wireless/rt2x00/rt2500usb.c
index 7d3e2828747a..98edd621c13b 100644
--- a/drivers/net/wireless/rt2x00/rt2500usb.c
+++ b/drivers/net/wireless/rt2x00/rt2500usb.c
@@ -1163,9 +1163,12 @@ static int rt2500usb_validate_eeprom(struct rt2x00_dev *rt2x00dev)
1163 rt2x00_eeprom_read(rt2x00dev, EEPROM_ANTENNA, &word); 1163 rt2x00_eeprom_read(rt2x00dev, EEPROM_ANTENNA, &word);
1164 if (word == 0xffff) { 1164 if (word == 0xffff) {
1165 rt2x00_set_field16(&word, EEPROM_ANTENNA_NUM, 2); 1165 rt2x00_set_field16(&word, EEPROM_ANTENNA_NUM, 2);
1166 rt2x00_set_field16(&word, EEPROM_ANTENNA_TX_DEFAULT, 0); 1166 rt2x00_set_field16(&word, EEPROM_ANTENNA_TX_DEFAULT,
1167 rt2x00_set_field16(&word, EEPROM_ANTENNA_RX_DEFAULT, 0); 1167 ANTENNA_SW_DIVERSITY);
1168 rt2x00_set_field16(&word, EEPROM_ANTENNA_LED_MODE, 0); 1168 rt2x00_set_field16(&word, EEPROM_ANTENNA_RX_DEFAULT,
1169 ANTENNA_SW_DIVERSITY);
1170 rt2x00_set_field16(&word, EEPROM_ANTENNA_LED_MODE,
1171 LED_MODE_DEFAULT);
1169 rt2x00_set_field16(&word, EEPROM_ANTENNA_DYN_TXAGC, 0); 1172 rt2x00_set_field16(&word, EEPROM_ANTENNA_DYN_TXAGC, 0);
1170 rt2x00_set_field16(&word, EEPROM_ANTENNA_HARDWARE_RADIO, 0); 1173 rt2x00_set_field16(&word, EEPROM_ANTENNA_HARDWARE_RADIO, 0);
1171 rt2x00_set_field16(&word, EEPROM_ANTENNA_RF_TYPE, RF2522); 1174 rt2x00_set_field16(&word, EEPROM_ANTENNA_RF_TYPE, RF2522);