aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath5k/base.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless/ath5k/base.c')
-rw-r--r--drivers/net/wireless/ath5k/base.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/drivers/net/wireless/ath5k/base.c b/drivers/net/wireless/ath5k/base.c
index b3f41acb9065..368db944f11f 100644
--- a/drivers/net/wireless/ath5k/base.c
+++ b/drivers/net/wireless/ath5k/base.c
@@ -2626,8 +2626,12 @@ ath5k_init_leds(struct ath5k_softc *sc)
2626 sc->led_pin = 1; 2626 sc->led_pin = 1;
2627 sc->led_on = 1; /* active high */ 2627 sc->led_on = 1; /* active high */
2628 } 2628 }
2629 /* Pin 3 on Foxconn chips used in Acer Aspire One (0x105b:e008) */ 2629 /*
2630 if (pdev->subsystem_vendor == PCI_VENDOR_ID_FOXCONN) { 2630 * Pin 3 on Foxconn chips used in Acer Aspire One (0x105b:e008) and
2631 * in emachines notebooks with AMBIT subsystem.
2632 */
2633 if (pdev->subsystem_vendor == PCI_VENDOR_ID_FOXCONN ||
2634 pdev->subsystem_vendor == PCI_VENDOR_ID_AMBIT) {
2631 __set_bit(ATH_STAT_LEDSOFT, sc->status); 2635 __set_bit(ATH_STAT_LEDSOFT, sc->status);
2632 sc->led_pin = 3; 2636 sc->led_pin = 3;
2633 sc->led_on = 0; /* active low */ 2637 sc->led_on = 0; /* active low */