aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/net/wireless/rt2x00/rt2400pci.c4
-rw-r--r--drivers/net/wireless/rt2x00/rt2500pci.c4
-rw-r--r--drivers/net/wireless/rt2x00/rt2500usb.c4
3 files changed, 9 insertions, 3 deletions
diff --git a/drivers/net/wireless/rt2x00/rt2400pci.c b/drivers/net/wireless/rt2x00/rt2400pci.c
index b0867a712858..4a2c0b971ca8 100644
--- a/drivers/net/wireless/rt2x00/rt2400pci.c
+++ b/drivers/net/wireless/rt2x00/rt2400pci.c
@@ -1395,7 +1395,9 @@ static int rt2400pci_init_eeprom(struct rt2x00_dev *rt2x00dev)
1395 value = rt2x00_get_field16(eeprom, EEPROM_ANTENNA_LED_MODE); 1395 value = rt2x00_get_field16(eeprom, EEPROM_ANTENNA_LED_MODE);
1396 1396
1397 rt2400pci_init_led(rt2x00dev, &rt2x00dev->led_radio, LED_TYPE_RADIO); 1397 rt2400pci_init_led(rt2x00dev, &rt2x00dev->led_radio, LED_TYPE_RADIO);
1398 if (value == LED_MODE_TXRX_ACTIVITY || value == LED_MODE_DEFAULT) 1398 if (value == LED_MODE_TXRX_ACTIVITY ||
1399 value == LED_MODE_DEFAULT ||
1400 value == LED_MODE_ASUS)
1399 rt2400pci_init_led(rt2x00dev, &rt2x00dev->led_qual, 1401 rt2400pci_init_led(rt2x00dev, &rt2x00dev->led_qual,
1400 LED_TYPE_ACTIVITY); 1402 LED_TYPE_ACTIVITY);
1401#endif /* CONFIG_RT2X00_LIB_LEDS */ 1403#endif /* CONFIG_RT2X00_LIB_LEDS */
diff --git a/drivers/net/wireless/rt2x00/rt2500pci.c b/drivers/net/wireless/rt2x00/rt2500pci.c
index d2b36b1e9290..b9104e28bc2e 100644
--- a/drivers/net/wireless/rt2x00/rt2500pci.c
+++ b/drivers/net/wireless/rt2x00/rt2500pci.c
@@ -1552,7 +1552,9 @@ static int rt2500pci_init_eeprom(struct rt2x00_dev *rt2x00dev)
1552 value = rt2x00_get_field16(eeprom, EEPROM_ANTENNA_LED_MODE); 1552 value = rt2x00_get_field16(eeprom, EEPROM_ANTENNA_LED_MODE);
1553 1553
1554 rt2500pci_init_led(rt2x00dev, &rt2x00dev->led_radio, LED_TYPE_RADIO); 1554 rt2500pci_init_led(rt2x00dev, &rt2x00dev->led_radio, LED_TYPE_RADIO);
1555 if (value == LED_MODE_TXRX_ACTIVITY || value == LED_MODE_DEFAULT) 1555 if (value == LED_MODE_TXRX_ACTIVITY ||
1556 value == LED_MODE_DEFAULT ||
1557 value == LED_MODE_ASUS)
1556 rt2500pci_init_led(rt2x00dev, &rt2x00dev->led_qual, 1558 rt2500pci_init_led(rt2x00dev, &rt2x00dev->led_qual,
1557 LED_TYPE_ACTIVITY); 1559 LED_TYPE_ACTIVITY);
1558#endif /* CONFIG_RT2X00_LIB_LEDS */ 1560#endif /* CONFIG_RT2X00_LIB_LEDS */
diff --git a/drivers/net/wireless/rt2x00/rt2500usb.c b/drivers/net/wireless/rt2x00/rt2500usb.c
index 71de7868bb80..c526e737fcad 100644
--- a/drivers/net/wireless/rt2x00/rt2500usb.c
+++ b/drivers/net/wireless/rt2x00/rt2500usb.c
@@ -1603,7 +1603,9 @@ static int rt2500usb_init_eeprom(struct rt2x00_dev *rt2x00dev)
1603 value = rt2x00_get_field16(eeprom, EEPROM_ANTENNA_LED_MODE); 1603 value = rt2x00_get_field16(eeprom, EEPROM_ANTENNA_LED_MODE);
1604 1604
1605 rt2500usb_init_led(rt2x00dev, &rt2x00dev->led_radio, LED_TYPE_RADIO); 1605 rt2500usb_init_led(rt2x00dev, &rt2x00dev->led_radio, LED_TYPE_RADIO);
1606 if (value == LED_MODE_TXRX_ACTIVITY || value == LED_MODE_DEFAULT) 1606 if (value == LED_MODE_TXRX_ACTIVITY ||
1607 value == LED_MODE_DEFAULT ||
1608 value == LED_MODE_ASUS)
1607 rt2500usb_init_led(rt2x00dev, &rt2x00dev->led_qual, 1609 rt2500usb_init_led(rt2x00dev, &rt2x00dev->led_qual,
1608 LED_TYPE_ACTIVITY); 1610 LED_TYPE_ACTIVITY);
1609#endif /* CONFIG_RT2X00_LIB_LEDS */ 1611#endif /* CONFIG_RT2X00_LIB_LEDS */