|
@@ -4376,8 +4376,7 @@ int ieee80211_mgd_assoc(struct ieee80211_sub_if_data *sdata,
|
|
rcu_read_unlock();
|
|
rcu_read_unlock();
|
|
|
|
|
|
if (bss->wmm_used && bss->uapsd_supported &&
|
|
if (bss->wmm_used && bss->uapsd_supported &&
|
|
- (sdata->local->hw.flags & IEEE80211_HW_SUPPORTS_UAPSD) &&
|
|
|
|
- sdata->wmm_acm != 0xff) {
|
|
|
|
|
|
+ (sdata->local->hw.flags & IEEE80211_HW_SUPPORTS_UAPSD)) {
|
|
assoc_data->uapsd = true;
|
|
assoc_data->uapsd = true;
|
|
ifmgd->flags |= IEEE80211_STA_UAPSD_ENABLED;
|
|
ifmgd->flags |= IEEE80211_STA_UAPSD_ENABLED;
|
|
} else {
|
|
} else {
|