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)
commit3b9ce80ce96aeaeacab5e26442987df45584a049
tree525b1ad3c3486d271877d830cc895172689cc592
parentffca287118d8c9a0a62e16a5ed96ff004caadeda
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