Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 5 Jan 2012 02:40:13 GMT
From:      Adrian Chadd <adrian.chadd@gmail.com>
To:        freebsd-wireless@FreeBSD.org
Subject:   Re: kern/163318: [ath] ath(4) stops working
Message-ID:  <201201050240.q052eDt5090826@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR kern/163318; it has been noted by GNATS.

From: Adrian Chadd <adrian.chadd@gmail.com>
To: bug-followup@FreeBSD.org, joel@FreeBSD.org
Cc:  
Subject: Re: kern/163318: [ath] ath(4) stops working
Date: Wed, 4 Jan 2012 18:34:39 -0800

 Hi,
 
 Please try this patch:
 
 Index: sys/net80211/ieee80211_power.c
 ===================================================================
 --- sys/net80211/ieee80211_power.c	(revision 228893)
 +++ sys/net80211/ieee80211_power.c	(working copy)
 @@ -504,8 +504,13 @@
  {
  	struct ieee80211_node *ni = vap->iv_bss;
 
 -	if (!((enable != 0) ^ ((ni->ni_flags & IEEE80211_NODE_PWR_MGT) != 0)))
 +	if (!((enable != 0) ^
 +	    ((ni->ni_flags & IEEE80211_NODE_PWR_MGT) != 0))) {
 +		IEEE80211_NOTE(vap, IEEE80211_MSG_POWER, ni,
 +		    "sta power save mode %s ignored",
 +		    enable ? "on" : "off");
  		return;
 +	}
 
  	IEEE80211_NOTE(vap, IEEE80211_MSG_POWER, ni,
  	    "sta power save mode %s", enable ? "on" : "off");
 
 .. then just enable wlandebug +power.
 
 I'd like to see whether the station power management enable is being
 ignored for some reason.
 
 
 
 Adrian



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