aboutsummaryrefslogtreecommitdiffstats
path: root/package/madwifi
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
commitd4fccc70fcf3912ff747d6004b74919a7b2dd3fd (patch)
treebcea8d0cce8240c6ebca5cfc414274d9c2d29b1c /package/madwifi
parent1a4cda89a996b879158f501eb62e09f649ff76f4 (diff)
downloadmaster-187ad058-d4fccc70fcf3912ff747d6004b74919a7b2dd3fd.tar.gz
master-187ad058-d4fccc70fcf3912ff747d6004b74919a7b2dd3fd.tar.bz2
master-187ad058-d4fccc70fcf3912ff747d6004b74919a7b2dd3fd.zip
disable madwifi rfkill support by default (broken on some hardware)
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@3915 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/madwifi')
-rw-r--r--package/madwifi/patches/103-disable_rfkill.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/package/madwifi/patches/103-disable_rfkill.patch b/package/madwifi/patches/103-disable_rfkill.patch
new file mode 100644
index 0000000000..f5b3de1458
--- /dev/null
+++ b/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;