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>
This commit is contained in:
committed by
John W. Linville
parent
4e74bfdb30
commit
76f0303d61
@@ -407,7 +407,7 @@ struct ieee80211_mgd_assoc_data {
|
||||
u8 ssid[IEEE80211_MAX_SSID_LEN];
|
||||
u8 ssid_len;
|
||||
u8 supp_rates_len;
|
||||
bool wmm_used, uapsd_used;
|
||||
bool wmm, uapsd;
|
||||
bool have_beacon;
|
||||
bool sent_assoc;
|
||||
bool synced;
|
||||
|
Reference in New Issue
Block a user