fix for the wifi led on atheros SoC
[openwrt-10.03/.git] / package / madwifi / patches / 113-led_fix.patch
1 --- madwifi-0.9.2.1/ath/if_ath_ahb.c.old        2007-04-25 23:07:43.081154440 +0200
2 +++ madwifi-0.9.2.1/ath/if_ath_ahb.c    2007-04-25 23:07:38.249888904 +0200
3 @@ -367,6 +367,7 @@
4         
5         if (ath_attach(devid, dev, config) != 0)
6                 goto bad4;
7 +       sc->aps_sc.sc_softled = 1;
8         athname = ath_hal_probe(ATHEROS_VENDOR_ID, devid);
9         printk(KERN_INFO "%s: %s: mem=0x%lx, irq=%d\n",
10                 dev->name, athname ? athname : "Atheros ???", dev->mem_start, dev->irq);