]> git.baikalelectronics.ru Git - kernel.git/commit
cfg80211/mac80211: apply station uAPSD parameters selectively
authorJohannes Berg <johannes.berg@intel.com>
Tue, 27 Sep 2011 18:56:12 +0000 (20:56 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 30 Sep 2011 19:57:03 +0000 (15:57 -0400)
commit923a3ab405022744253041b4125572685373011a
tree525b1ad3c3486d271877d830cc895172689cc592
parent56873cfdc1cc72128f843922dd98b3bce5785aed
cfg80211/mac80211: apply station uAPSD parameters selectively

Currently, when hostapd sets the station as authorized
we also overwrite its uAPSD parameter. This obviously
leads to buggy behaviour (later, with my patches that
actually add uAPSD support). To fix this, only apply
those parameters if they were actually set in nl80211,
and to achieve that add a bitmap of things to apply.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
include/net/cfg80211.h
net/mac80211/cfg.c
net/wireless/nl80211.c