on transition to SLEEP state mark the station in power save, not awake

MFC after:	3 days
This commit is contained in:
Sam Leffler 2009-09-03 16:24:21 +00:00
parent 80002a63db
commit c32539d4c0

View File

@ -431,7 +431,7 @@ sta_newstate(struct ieee80211vap *vap, enum ieee80211_state nstate, int arg)
goto invalid;
break;
case IEEE80211_S_SLEEP:
ieee80211_sta_pwrsave(vap, 0);
ieee80211_sta_pwrsave(vap, 1);
break;
default:
invalid: