Root/package/madwifi/patches/113-no_ibss_pwrsave.patch

1--- a/net80211/ieee80211_scan.c
2+++ b/net80211/ieee80211_scan.c
3@@ -291,7 +291,8 @@ scan_restart_pwrsav(unsigned long arg)
4     struct ieee80211com *ic = vap->iv_ic;
5     int delay;
6 
7- ieee80211_sta_pwrsave(vap, 1);
8+ if (vap->iv_opmode != IEEE80211_M_IBSS)
9+ ieee80211_sta_pwrsave(vap, 1);
10     /*
11      * Use an initial 1ms delay to ensure the null
12      * data frame has a chance to go out.
13

Archive Download this file



interactive