X-Git-Url: http://git.ozo.com/?a=blobdiff_plain;f=package%2Fmadwifi%2Fpatches%2F113-no_ibss_pwrsave.patch;h=821820a4aba0078bf640c6dcccdca8ef14fd453a;hb=32d35e5428e44e0b19e25a160b99c9985df0755e;hp=eebb5cf6f2e9db5f1eb15f502298cc1c5a034cb9;hpb=1f9285016a01f115851b9b7f9adb39be52f2b0fa;p=openwrt-10.03%2F.git diff --git a/package/madwifi/patches/113-no_ibss_pwrsave.patch b/package/madwifi/patches/113-no_ibss_pwrsave.patch index eebb5cf6f..821820a4a 100644 --- a/package/madwifi/patches/113-no_ibss_pwrsave.patch +++ b/package/madwifi/patches/113-no_ibss_pwrsave.patch @@ -1,13 +1,13 @@ -Index: madwifi-ng-r2525-20070630/net80211/ieee80211_scan.c +Index: madwifi-ng-r2568-20070710/net80211/ieee80211_scan.c =================================================================== ---- madwifi-ng-r2525-20070630.orig/net80211/ieee80211_scan.c 2007-07-03 23:02:25.817657250 +0200 -+++ madwifi-ng-r2525-20070630/net80211/ieee80211_scan.c 2007-07-03 23:02:29.401881250 +0200 +--- madwifi-ng-r2568-20070710.orig/net80211/ieee80211_scan.c 2007-10-20 20:51:37.000000000 +0200 ++++ madwifi-ng-r2568-20070710/net80211/ieee80211_scan.c 2007-10-20 20:52:09.000000000 +0200 @@ -291,7 +291,8 @@ struct ieee80211com *ic = vap->iv_ic; int delay; - ieee80211_sta_pwrsave(vap, 1); -+ if (vap->iv_opmode != IEEE80211_M_IBSS) ++ if (vap->iv_opmode != IEEE80211_M_IBSS) + ieee80211_sta_pwrsave(vap, 1); /* * Use an initial 1ms delay to ensure the null