Search Linux Wireless

Re: [PATCH] mac80211: do not enable ps if 802.1x controlled port is unblocked

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 2011-03-09 at 18:56 -0800, Jason Young wrote:

> +++ b/net/mac80211/cfg.c
> @@ -834,6 +834,9 @@ static int ieee80211_change_station(struct wiphy *wiphy,
> 
>  	rcu_read_unlock();
> 
> +	if (params->sta_flags_mask & BIT(NL80211_STA_FLAG_AUTHORIZED))
> +		ieee80211_recalc_ps(local, -1);
> +

I think we can restrict this to station interfaces too, since for others
powersave will already be off. That way, APs don't need to run the
function all the time.

johannes

--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux