fix for the wifi led on atheros SoC
authorFelix Fietkau <nbd@openwrt.org>
Thu, 26 Apr 2007 11:34:56 +0000 (11:34 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Thu, 26 Apr 2007 11:34:56 +0000 (11:34 +0000)
SVN-Revision: 7053

package/madwifi/patches/113-led_fix.patch [new file with mode: 0644]

diff --git a/package/madwifi/patches/113-led_fix.patch b/package/madwifi/patches/113-led_fix.patch
new file mode 100644 (file)
index 0000000..45d1b15
--- /dev/null
@@ -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);