diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2016-10-10 23:02:51 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2016-10-10 23:02:51 -0400 |
commit | 3873691e5ab34fa26948643d038a2b98c4437298 (patch) | |
tree | 5327469194c2167830bce38b56a618b754cdbeea /net/mac80211/agg-rx.c | |
parent | c2050a454c7f123d7a57fa1d76ff61bd43643abb (diff) | |
parent | aadfa8019e8114539cfa0b1eb2e5a9c83094a590 (diff) |
Merge remote-tracking branch 'ovl/rename2' into for-linus
Diffstat (limited to 'net/mac80211/agg-rx.c')
-rw-r--r-- | net/mac80211/agg-rx.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/net/mac80211/agg-rx.c b/net/mac80211/agg-rx.c index a9aff6079c42..afa94687d5e1 100644 --- a/net/mac80211/agg-rx.c +++ b/net/mac80211/agg-rx.c | |||
@@ -261,10 +261,16 @@ void __ieee80211_start_rx_ba_session(struct sta_info *sta, | |||
261 | .timeout = timeout, | 261 | .timeout = timeout, |
262 | .ssn = start_seq_num, | 262 | .ssn = start_seq_num, |
263 | }; | 263 | }; |
264 | |||
265 | int i, ret = -EOPNOTSUPP; | 264 | int i, ret = -EOPNOTSUPP; |
266 | u16 status = WLAN_STATUS_REQUEST_DECLINED; | 265 | u16 status = WLAN_STATUS_REQUEST_DECLINED; |
267 | 266 | ||
267 | if (tid >= IEEE80211_FIRST_TSPEC_TSID) { | ||
268 | ht_dbg(sta->sdata, | ||
269 | "STA %pM requests BA session on unsupported tid %d\n", | ||
270 | sta->sta.addr, tid); | ||
271 | goto end_no_lock; | ||
272 | } | ||
273 | |||
268 | if (!sta->sta.ht_cap.ht_supported) { | 274 | if (!sta->sta.ht_cap.ht_supported) { |
269 | ht_dbg(sta->sdata, | 275 | ht_dbg(sta->sdata, |
270 | "STA %pM erroneously requests BA session on tid %d w/o QoS\n", | 276 | "STA %pM erroneously requests BA session on tid %d w/o QoS\n", |