From c26c3edd6e3a11ffd518fd94fcf8f6c0c2c0aa28 Mon Sep 17 00:00:00 2001 From: sam Date: Thu, 3 Sep 2009 16:24:21 +0000 Subject: [PATCH] on transition to SLEEP state mark the station in power save, not awake MFC after: 3 days --- sys/net80211/ieee80211_sta.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/net80211/ieee80211_sta.c b/sys/net80211/ieee80211_sta.c index fe8c9fa10eb0..a4f538dbdfb6 100644 --- a/sys/net80211/ieee80211_sta.c +++ b/sys/net80211/ieee80211_sta.c @@ -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: