From a13013478a86924195c935add036c4445a855c3e Mon Sep 17 00:00:00 2001
From: Felix Fietkau <nbd@openwrt.org>
Date: Thu, 26 Apr 2007 11:34:56 +0000
Subject: [PATCH] fix for the wifi led on atheros SoC

SVN-Revision: 7053
---
 package/madwifi/patches/113-led_fix.patch | 10 ++++++++++
 1 file changed, 10 insertions(+)
 create mode 100644 package/madwifi/patches/113-led_fix.patch

diff --git a/package/madwifi/patches/113-led_fix.patch b/package/madwifi/patches/113-led_fix.patch
new file mode 100644
index 0000000000..45d1b15bbe
--- /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);
-- 
GitLab