Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 107083
b: refs/heads/master
c: 734b5aa
h: refs/heads/master
i:
  107081: b7d737a
  107079: 5f7e4c4
v: v3
  • Loading branch information
Bob Copeland authored and John W. Linville committed Jul 29, 2008
1 parent 20b9f06 commit 2e85c53
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 3e4242b99ce46fed82aa7f40ad5a1817a2b3bd45
refs/heads/master: 734b5aa911dc65f4563048f069dfc631c9aa7de7
4 changes: 2 additions & 2 deletions trunk/drivers/net/wireless/ath5k/base.c
Original file line number Diff line number Diff line change
Expand Up @@ -2581,8 +2581,6 @@ ath5k_init_leds(struct ath5k_softc *sc)
struct pci_dev *pdev = sc->pdev;
char name[ATH5K_LED_MAX_NAME_LEN + 1];

sc->led_on = 0; /* active low */

/*
* Auto-enable soft led processing for IBM cards and for
* 5211 minipci cards.
Expand All @@ -2591,11 +2589,13 @@ ath5k_init_leds(struct ath5k_softc *sc)
pdev->device == PCI_DEVICE_ID_ATHEROS_AR5211) {
__set_bit(ATH_STAT_LEDSOFT, sc->status);
sc->led_pin = 0;
sc->led_on = 0; /* active low */
}
/* Enable softled on PIN1 on HP Compaq nc6xx, nc4000 & nx5000 laptops */
if (pdev->subsystem_vendor == PCI_VENDOR_ID_COMPAQ) {
__set_bit(ATH_STAT_LEDSOFT, sc->status);
sc->led_pin = 1;
sc->led_on = 1; /* active high */
}
if (!test_bit(ATH_STAT_LEDSOFT, sc->status))
goto out;
Expand Down

0 comments on commit 2e85c53

Please sign in to comment.