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