svn commit: r196783 - head/sys/net80211
Sam Leffler
sam at FreeBSD.org
Thu Sep 3 16:24:21 UTC 2009
Author: sam
Date: Thu Sep 3 16:24:21 2009
New Revision: 196783
URL: http://svn.freebsd.org/changeset/base/196783
Log:
on transition to SLEEP state mark the station in power save, not awake
MFC after: 3 days
Modified:
head/sys/net80211/ieee80211_sta.c
Modified: head/sys/net80211/ieee80211_sta.c
==============================================================================
--- head/sys/net80211/ieee80211_sta.c Thu Sep 3 14:23:50 2009 (r196782)
+++ head/sys/net80211/ieee80211_sta.c Thu Sep 3 16:24:21 2009 (r196783)
@@ -431,7 +431,7 @@ sta_newstate(struct ieee80211vap *vap, e
goto invalid;
break;
case IEEE80211_S_SLEEP:
- ieee80211_sta_pwrsave(vap, 0);
+ ieee80211_sta_pwrsave(vap, 1);
break;
default:
invalid:
More information about the svn-src-head
mailing list