openwrtv4/package/madwifi/patches/103-disable_rfkill.patch
2007-06-04 11:25:53 +00:00

13 lines
536 B
Diff

Index: madwifi-ng-r2420-20070602/ath/if_ath.c
===================================================================
--- madwifi-ng-r2420-20070602.orig/ath/if_ath.c 2007-06-04 13:21:53.574832056 +0200
+++ madwifi-ng-r2420-20070602/ath/if_ath.c 2007-06-04 13:21:54.287723680 +0200
@@ -269,7 +269,7 @@
static int ath_xchanmode = AH_TRUE; /* enable extended channels */
static char *autocreate = NULL;
static char *ratectl = DEF_RATE_CTL;
-static int rfkill = -1;
+static int rfkill = 0;
#ifdef ATH_CAP_TPC
static int tpc = -1;
#endif