diff options
Diffstat (limited to 'net/mac80211/mlme.c')
-rw-r--r-- | net/mac80211/mlme.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/net/mac80211/mlme.c b/net/mac80211/mlme.c index 304d6cfc6250..43bfa8199811 100644 --- a/net/mac80211/mlme.c +++ b/net/mac80211/mlme.c | |||
@@ -4086,7 +4086,8 @@ int ieee80211_mgd_assoc(struct ieee80211_sub_if_data *sdata, | |||
4086 | rcu_read_unlock(); | 4086 | rcu_read_unlock(); |
4087 | 4087 | ||
4088 | if (bss->wmm_used && bss->uapsd_supported && | 4088 | if (bss->wmm_used && bss->uapsd_supported && |
4089 | (sdata->local->hw.flags & IEEE80211_HW_SUPPORTS_UAPSD)) { | 4089 | (sdata->local->hw.flags & IEEE80211_HW_SUPPORTS_UAPSD) && |
4090 | sdata->wmm_acm != 0xff) { | ||
4090 | assoc_data->uapsd = true; | 4091 | assoc_data->uapsd = true; |
4091 | ifmgd->flags |= IEEE80211_STA_UAPSD_ENABLED; | 4092 | ifmgd->flags |= IEEE80211_STA_UAPSD_ENABLED; |
4092 | } else { | 4093 | } else { |