mac80211: simplify wmm check during association
authorJohannes Berg <johannes.berg@intel.com>
Thu, 8 Mar 2012 14:02:05 +0000 (15:02 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 12 Mar 2012 18:22:13 +0000 (14:22 -0400)
commit76f0303d61b3c7f1918ab63a64e77450a4418a60
tree00f94eb0479a0459a71179e8d89d97b52442299a
parent4e74bfdb30f79e9bf87aa359eff29fbdb93cc12a
mac80211: simplify wmm check during association

Instead of setting assoc_data->wmm_used solely
based on the BSS also take into account our own
capabilities and later check those.

Also rename "wmm_used" and "uapsd_used" to just
"wmm" and "uapsd".

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/ieee80211_i.h
net/mac80211/mlme.c