mac80211: make sta.wme indicate whether QoS is used
Indicating just the peer's capability is fairly pointless if the local device doesn't support it. Make the variable track both combined, and remove the 'local support' check in the TX path. Signed-off-by: Johannes Berg <johannes.berg@intel.com>
This commit is contained in:
@@ -1016,7 +1016,7 @@ static void ieee80211_update_sta_info(struct ieee80211_sub_if_data *sdata,
|
||||
}
|
||||
}
|
||||
|
||||
if (sta && elems->wmm_info)
|
||||
if (sta && elems->wmm_info && local->hw.queues >= IEEE80211_NUM_ACS)
|
||||
sta->sta.wme = true;
|
||||
|
||||
if (sta && elems->ht_operation && elems->ht_cap_elem &&
|
||||
|
Reference in New Issue
Block a user