summaryrefslogtreecommitdiff
path: root/openwrt/target/linux
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2006-06-08 16:35:15 +0000
committerFelix Fietkau <nbd@openwrt.org>2006-06-08 16:35:15 +0000
commit80eca6e549370ab3873d55801a7ef9ba817bf7d4 (patch)
tree9b68671dbd5b94aa0fcf07a8280ee61d6a94af46 /openwrt/target/linux
parent5530a20e60dd64b013382eaea57bc9f9e8a6ee1e (diff)
downloadmtk-20170518-80eca6e549370ab3873d55801a7ef9ba817bf7d4.zip
mtk-20170518-80eca6e549370ab3873d55801a7ef9ba817bf7d4.tar.gz
mtk-20170518-80eca6e549370ab3873d55801a7ef9ba817bf7d4.tar.bz2
disable madwifi rfkill support by default (broken on some hardware)
SVN-Revision: 3915
Diffstat (limited to 'openwrt/target/linux')
-rw-r--r--openwrt/target/linux/package/madwifi/patches/103-disable_rfkill.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/openwrt/target/linux/package/madwifi/patches/103-disable_rfkill.patch b/openwrt/target/linux/package/madwifi/patches/103-disable_rfkill.patch
new file mode 100644
index 0000000..f5b3de1
--- /dev/null
+++ b/openwrt/target/linux/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;