From 4bcf112fa5a5b191d44928d1091b4697885bb073 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Sun, 14 Mar 2010 12:25:23 +0000 Subject: madwifi: disable softled by default on pci devices (fixes #4484) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20195 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/madwifi/patches/460-pci_softled_disable.patch | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 package/madwifi/patches/460-pci_softled_disable.patch (limited to 'package/madwifi/patches/460-pci_softled_disable.patch') diff --git a/package/madwifi/patches/460-pci_softled_disable.patch b/package/madwifi/patches/460-pci_softled_disable.patch new file mode 100644 index 0000000000..328e8c3505 --- /dev/null +++ b/package/madwifi/patches/460-pci_softled_disable.patch @@ -0,0 +1,18 @@ +--- a/ath/if_ath_pci.c ++++ b/ath/if_ath_pci.c +@@ -264,6 +264,7 @@ ath_pci_probe(struct pci_dev *pdev, cons + } + } + ++#if 0 + /* + * Auto-enable soft led processing for IBM cards and for + * 5211 minipci cards. Users can also manually enable/disable +@@ -279,6 +280,7 @@ ath_pci_probe(struct pci_dev *pdev, cons + sc->aps_sc.sc_softled = 1; + sc->aps_sc.sc_ledpin = 1; + } ++#endif + + if ((i = ath_attach(vdevice, dev, NULL)) != 0) { + printk(KERN_ERR "%s: ath_attach failed: %d\n", dev_info, i); -- cgit v1.2.3