aboutsummaryrefslogtreecommitdiffstats
path: root/net/mac80211/agg-rx.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/mac80211/agg-rx.c')
-rw-r--r--net/mac80211/agg-rx.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/net/mac80211/agg-rx.c b/net/mac80211/agg-rx.c
index 7ed5fe664732..614c65d62ae4 100644
--- a/net/mac80211/agg-rx.c
+++ b/net/mac80211/agg-rx.c
@@ -211,9 +211,9 @@ void ieee80211_process_addba_request(struct ieee80211_local *local,
211 * check if configuration can support the BA policy 211 * check if configuration can support the BA policy
212 * and if buffer size does not exceeds max value */ 212 * and if buffer size does not exceeds max value */
213 /* XXX: check own ht delayed BA capability?? */ 213 /* XXX: check own ht delayed BA capability?? */
214 if (((ba_policy != 1) 214 if (((ba_policy != 1) &&
215 && (!(sta->sta.ht_cap.cap & IEEE80211_HT_CAP_DELAY_BA))) 215 (!(sta->sta.ht_cap.cap & IEEE80211_HT_CAP_DELAY_BA))) ||
216 || (buf_size > IEEE80211_MAX_AMPDU_BUF)) { 216 (buf_size > IEEE80211_MAX_AMPDU_BUF)) {
217 status = WLAN_STATUS_INVALID_QOS_PARAM; 217 status = WLAN_STATUS_INVALID_QOS_PARAM;
218#ifdef CONFIG_MAC80211_HT_DEBUG 218#ifdef CONFIG_MAC80211_HT_DEBUG
219 if (net_ratelimit()) 219 if (net_ratelimit())