diff options
Diffstat (limited to 'drivers/net/wireless/rt2x00/rt61pci.c')
-rw-r--r-- | drivers/net/wireless/rt2x00/rt61pci.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/net/wireless/rt2x00/rt61pci.c b/drivers/net/wireless/rt2x00/rt61pci.c index f893825ce6dd..83b95a675f08 100644 --- a/drivers/net/wireless/rt2x00/rt61pci.c +++ b/drivers/net/wireless/rt2x00/rt61pci.c | |||
@@ -1920,8 +1920,10 @@ static int rt61pci_validate_eeprom(struct rt2x00_dev *rt2x00dev) | |||
1920 | rt2x00_eeprom_read(rt2x00dev, EEPROM_ANTENNA, &word); | 1920 | rt2x00_eeprom_read(rt2x00dev, EEPROM_ANTENNA, &word); |
1921 | if (word == 0xffff) { | 1921 | if (word == 0xffff) { |
1922 | rt2x00_set_field16(&word, EEPROM_ANTENNA_NUM, 2); | 1922 | rt2x00_set_field16(&word, EEPROM_ANTENNA_NUM, 2); |
1923 | rt2x00_set_field16(&word, EEPROM_ANTENNA_TX_DEFAULT, 2); | 1923 | rt2x00_set_field16(&word, EEPROM_ANTENNA_TX_DEFAULT, |
1924 | rt2x00_set_field16(&word, EEPROM_ANTENNA_RX_DEFAULT, 2); | 1924 | ANTENNA_B); |
1925 | rt2x00_set_field16(&word, EEPROM_ANTENNA_RX_DEFAULT, | ||
1926 | ANTENNA_B); | ||
1925 | rt2x00_set_field16(&word, EEPROM_ANTENNA_FRAME_TYPE, 0); | 1927 | rt2x00_set_field16(&word, EEPROM_ANTENNA_FRAME_TYPE, 0); |
1926 | rt2x00_set_field16(&word, EEPROM_ANTENNA_DYN_TXAGC, 0); | 1928 | rt2x00_set_field16(&word, EEPROM_ANTENNA_DYN_TXAGC, 0); |
1927 | rt2x00_set_field16(&word, EEPROM_ANTENNA_HARDWARE_RADIO, 0); | 1929 | rt2x00_set_field16(&word, EEPROM_ANTENNA_HARDWARE_RADIO, 0); |