madwifi: disable softled by default on pci devices (fixes #4484)
[openwrt/svn-archive/archive.git] / package / madwifi / patches / 460-pci_softled_disable.patch
1 --- a/ath/if_ath_pci.c
2 +++ b/ath/if_ath_pci.c
3 @@ -264,6 +264,7 @@ ath_pci_probe(struct pci_dev *pdev, cons
4 }
5 }
6
7 +#if 0
8 /*
9 * Auto-enable soft led processing for IBM cards and for
10 * 5211 minipci cards. Users can also manually enable/disable
11 @@ -279,6 +280,7 @@ ath_pci_probe(struct pci_dev *pdev, cons
12 sc->aps_sc.sc_softled = 1;
13 sc->aps_sc.sc_ledpin = 1;
14 }
15 +#endif
16
17 if ((i = ath_attach(vdevice, dev, NULL)) != 0) {
18 printk(KERN_ERR "%s: ath_attach failed: %d\n", dev_info, i);