X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/f52d66ff00b24111f87c274d3d7085ef2e1d27b1..6c5121c214fe1a011b6ecabe22dc1372021eda44:/package/madwifi/patches/103-disable_rfkill.patch?ds=sidebyside diff --git a/package/madwifi/patches/103-disable_rfkill.patch b/package/madwifi/patches/103-disable_rfkill.patch index 80a45e31d..93c4cc06e 100644 --- a/package/madwifi/patches/103-disable_rfkill.patch +++ b/package/madwifi/patches/103-disable_rfkill.patch @@ -1,12 +1,12 @@ -diff -urN madwifi-0.9.2.old/ath/if_ath.c madwifi-0.9.2.dev/ath/if_ath.c ---- madwifi-0.9.2.old/ath/if_ath.c 2006-07-08 08:47:19.000000000 +0200 -+++ madwifi-0.9.2.dev/ath/if_ath.c 2006-08-29 17:49:50.000000000 +0200 -@@ -251,7 +251,7 @@ - static int ath_outdoor = AH_FALSE; /* enable outdoor use */ +diff -urN madwifi-ng-r2377-20070526.old/ath/if_ath.c madwifi-ng-r2377-20070526.dev/ath/if_ath.c +--- madwifi-ng-r2377-20070526.old/ath/if_ath.c 2007-05-25 22:03:27.000000000 +0200 ++++ madwifi-ng-r2377-20070526.dev/ath/if_ath.c 2007-05-26 18:51:08.212839000 +0200 +@@ -257,7 +257,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; - static int countrycode = -1; - static int outdoor = -1; - static int xchanmode = -1; + #ifdef ATH_CAP_TPC + static int tpc = -1; + #endif