summaryrefslogtreecommitdiff
path: root/package/madwifi/patches
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2007-04-26 11:34:56 +0000
committerFelix Fietkau <nbd@openwrt.org>2007-04-26 11:34:56 +0000
commita13013478a86924195c935add036c4445a855c3e (patch)
tree026a44e8c9441abd55a5d44ca233505cc15239fc /package/madwifi/patches
parent56220b258b9a13479dbc40f4fd42b746e1a64725 (diff)
downloadmtk-20170518-a13013478a86924195c935add036c4445a855c3e.zip
mtk-20170518-a13013478a86924195c935add036c4445a855c3e.tar.gz
mtk-20170518-a13013478a86924195c935add036c4445a855c3e.tar.bz2
fix for the wifi led on atheros SoC
SVN-Revision: 7053
Diffstat (limited to 'package/madwifi/patches')
-rw-r--r--package/madwifi/patches/113-led_fix.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/package/madwifi/patches/113-led_fix.patch b/package/madwifi/patches/113-led_fix.patch
new file mode 100644
index 0000000..45d1b15
--- /dev/null
+++ b/package/madwifi/patches/113-led_fix.patch
@@ -0,0 +1,10 @@
+--- madwifi-0.9.2.1/ath/if_ath_ahb.c.old 2007-04-25 23:07:43.081154440 +0200
++++ madwifi-0.9.2.1/ath/if_ath_ahb.c 2007-04-25 23:07:38.249888904 +0200
+@@ -367,6 +367,7 @@
+
+ if (ath_attach(devid, dev, config) != 0)
+ goto bad4;
++ sc->aps_sc.sc_softled = 1;
+ athname = ath_hal_probe(ATHEROS_VENDOR_ID, devid);
+ printk(KERN_INFO "%s: %s: mem=0x%lx, irq=%d\n",
+ dev->name, athname ? athname : "Atheros ???", dev->mem_start, dev->irq);