disable madwifi rfkill support by default (broken on some hardware)
[openwrt/svn-archive/archive.git] / openwrt / target / linux / package / madwifi / patches / 103-disable_rfkill.patch
1 diff -urN madwifi.old/ath/if_ath.c madwifi.dev/ath/if_ath.c
2 --- madwifi.old/ath/if_ath.c 2006-06-08 17:20:12.000000000 +0200
3 +++ madwifi.dev/ath/if_ath.c 2006-06-08 18:30:10.000000000 +0200
4 @@ -252,7 +252,7 @@
5 static int ath_outdoor = AH_FALSE; /* enable outdoor use */
6 static int ath_xchanmode = AH_TRUE; /* enable extended channels */
7 static char *autocreate = NULL;
8 -static int rfkill = -1;
9 +static int rfkill = 0;
10 static int countrycode = -1;
11 static int outdoor = -1;
12 static int xchanmode = -1;