Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 3 Sep 2009 16:24:21 +0000 (UTC)
From:      Sam Leffler <sam@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r196783 - head/sys/net80211
Message-ID:  <200909031624.n83GOLhp038059@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200909031624.n83GOLhp038059>