more generic handling of Macronix flash chips, fix #2008
[openwrt/openwrt.git] / package / madwifi / patches / 117-no_tpc.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:55.808492488 +0200
4 +++ madwifi-ng-r2420-20070602/ath/if_ath.c 2007-06-04 13:21:56.713354928 +0200
5 @@ -271,7 +271,7 @@
6 static char *ratectl = DEF_RATE_CTL;
7 static int rfkill = 0;
8 #ifdef ATH_CAP_TPC
9 -static int tpc = -1;
10 +static int tpc = 0;
11 #endif
12 static int countrycode = -1;
13 static int outdoor = -1;