diff options
author | sam <sam@FreeBSD.org> | 2009-09-03 16:24:21 +0000 |
---|---|---|
committer | sam <sam@FreeBSD.org> | 2009-09-03 16:24:21 +0000 |
commit | c26c3edd6e3a11ffd518fd94fcf8f6c0c2c0aa28 (patch) | |
tree | 72a8e7370a9df623b99216ad1adffe5c211c1b84 /sys/net80211 | |
parent | ef39f869d5b5088b0603a8d812466b9d0a29c67b (diff) | |
download | FreeBSD-src-c26c3edd6e3a11ffd518fd94fcf8f6c0c2c0aa28.zip FreeBSD-src-c26c3edd6e3a11ffd518fd94fcf8f6c0c2c0aa28.tar.gz |
on transition to SLEEP state mark the station in power save, not awake
MFC after: 3 days
Diffstat (limited to 'sys/net80211')
-rw-r--r-- | sys/net80211/ieee80211_sta.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/net80211/ieee80211_sta.c b/sys/net80211/ieee80211_sta.c index fe8c9fa..a4f538d 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: |