summaryrefslogtreecommitdiff
path: root/mac80211.c
diff options
context:
space:
mode:
authorDavid Lin <dlin@marvell.com>2016-05-30 15:25:50 +0800
committerDavid Lin <dlin@marvell.com>2016-05-30 15:25:50 +0800
commit608f4eb0d2ca67f9bae686b8de25e4f627e3af7c (patch)
tree99225ffc3799883cbb9a8c3524e60b1ba72063a8 /mac80211.c
parent267c5144165ad7bd8da0e0f897a487b82460e95c (diff)
Commit mwlwifi driver 10.3.0.17-2016053010.3.0.17-20160530
1. Removed debug messages related to failure of ba checking. 2. Added variable "check_ba_failed" to log this kind of debug information. Signed-off-by: David Lin <dlin@marvell.com>
Diffstat (limited to 'mac80211.c')
-rw-r--r--mac80211.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/mac80211.c b/mac80211.c
index 47f60c6..9dc563b 100644
--- a/mac80211.c
+++ b/mac80211.c
@@ -649,10 +649,7 @@ static int mwl_mac80211_ampdu_action(struct ieee80211_hw *hw,
spin_lock_bh(&priv->stream_lock);
if (rc) {
mwl_fwcmd_remove_stream(hw, stream);
- if (printk_ratelimit())
- wiphy_debug(hw->wiphy,
- "ampdu start error code: %d(%pM)\n",
- rc, addr);
+ sta_info->check_ba_failed[tid]++;
rc = -EPERM;
break;
}
@@ -691,6 +688,7 @@ static int mwl_mac80211_ampdu_action(struct ieee80211_hw *hw,
if (!rc) {
stream->state = AMPDU_STREAM_ACTIVE;
+ sta_info->check_ba_failed[tid] = 0;
} else {
idx = stream->idx;
spin_unlock_bh(&priv->stream_lock);