diff options
Diffstat (limited to 'net/mac80211/agg-tx.c')
-rw-r--r-- | net/mac80211/agg-tx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/mac80211/agg-tx.c b/net/mac80211/agg-tx.c index 206fd82f0c76..63224d1ee8dd 100644 --- a/net/mac80211/agg-tx.c +++ b/net/mac80211/agg-tx.c | |||
@@ -545,7 +545,7 @@ int ieee80211_stop_tx_ba_session(struct ieee80211_hw *hw, | |||
545 | struct sta_info *sta; | 545 | struct sta_info *sta; |
546 | int ret = 0; | 546 | int ret = 0; |
547 | 547 | ||
548 | if (WARN_ON(!local->ops->ampdu_action)) | 548 | if (!local->ops->ampdu_action) |
549 | return -EINVAL; | 549 | return -EINVAL; |
550 | 550 | ||
551 | if (tid >= STA_TID_NUM) | 551 | if (tid >= STA_TID_NUM) |