From: Felix Fietkau <nbd@openwrt.org>
Date: Thu, 8 Jun 2006 16:35:15 +0000 (+0000)
Subject: disable madwifi rfkill support by default (broken on some hardware)
X-Git-Tag: kamikaze_7.06~1495^2~606
X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=3faa3eef9d33b9a00f2a47f314185d2b17a0fe73;p=openwrt%2Fsvn-archive%2Fopenwrt.git

disable madwifi rfkill support by default (broken on some hardware)

SVN-Revision: 3915
---

diff --git a/openwrt/package/madwifi/patches/103-disable_rfkill.patch b/openwrt/package/madwifi/patches/103-disable_rfkill.patch
new file mode 100644
index 0000000000..f5b3de1458
--- /dev/null
+++ b/openwrt/package/madwifi/patches/103-disable_rfkill.patch
@@ -0,0 +1,12 @@
+diff -urN madwifi.old/ath/if_ath.c madwifi.dev/ath/if_ath.c
+--- madwifi.old/ath/if_ath.c	2006-06-08 17:20:12.000000000 +0200
++++ madwifi.dev/ath/if_ath.c	2006-06-08 18:30:10.000000000 +0200
+@@ -252,7 +252,7 @@
+ static int ath_outdoor = AH_FALSE;		/* enable outdoor use */
+ static int ath_xchanmode = AH_TRUE;		/* enable extended channels */
+ static char *autocreate = NULL;
+-static int rfkill = -1;
++static int rfkill = 0;
+ static int countrycode = -1;
+ static int outdoor = -1;
+ static int xchanmode = -1;