fix a crash related to wep and mic handling (#1973)
[openwrt/svn-archive/archive.git] / package / madwifi / patches / 103-disable_rfkill.patch
1 Index: madwifi-ng-r2420-20070602/ath/if_ath.c
2 ===================================================================
3 --- madwifi-ng-r2420-20070602.orig/ath/if_ath.c 2007-06-04 13:21:53.574832056 +0200
4 +++ madwifi-ng-r2420-20070602/ath/if_ath.c 2007-06-04 13:21:54.287723680 +0200
5 @@ -269,7 +269,7 @@
6 static int ath_xchanmode = AH_TRUE; /* enable extended channels */
7 static char *autocreate = NULL;
8 static char *ratectl = DEF_RATE_CTL;
9 -static int rfkill = -1;
10 +static int rfkill = 0;
11 #ifdef ATH_CAP_TPC
12 static int tpc = -1;
13 #endif