diff options
Diffstat (limited to 'net/mac80211/tdls.c')
-rw-r--r-- | net/mac80211/tdls.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/net/mac80211/tdls.c b/net/mac80211/tdls.c index 1b21050be174..f2cb3b6c1871 100644 --- a/net/mac80211/tdls.c +++ b/net/mac80211/tdls.c | |||
@@ -316,8 +316,7 @@ ieee80211_tdls_add_setup_cfm_ies(struct ieee80211_sub_if_data *sdata, | |||
316 | } | 316 | } |
317 | 317 | ||
318 | /* add the QoS param IE if both the peer and we support it */ | 318 | /* add the QoS param IE if both the peer and we support it */ |
319 | if (local->hw.queues >= IEEE80211_NUM_ACS && | 319 | if (local->hw.queues >= IEEE80211_NUM_ACS && sta->sta.wme) |
320 | test_sta_flag(sta, WLAN_STA_WME)) | ||
321 | ieee80211_tdls_add_wmm_param_ie(sdata, skb); | 320 | ieee80211_tdls_add_wmm_param_ie(sdata, skb); |
322 | 321 | ||
323 | /* add any custom IEs that go before HT operation */ | 322 | /* add any custom IEs that go before HT operation */ |