summaryrefslogtreecommitdiff
path: root/mac80211.c
diff options
context:
space:
mode:
authorDavid Lin <dlin@marvell.com>2016-05-23 12:33:41 +0800
committerDavid Lin <dlin@marvell.com>2016-05-23 12:33:41 +0800
commit267c5144165ad7bd8da0e0f897a487b82460e95c (patch)
treecc7fd1532cf42807b498cc9292dac44ef3220976 /mac80211.c
parent7d49296d12b44025278a52c5a26fb1b4236f320f (diff)
Commit mwlwifi driver 10.3.0.17-20160523
Added code to control the rate to print out check BA related debug messages. Signed-off-by: David Lin <dlin@marvell.com>
Diffstat (limited to 'mac80211.c')
-rw-r--r--mac80211.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/mac80211.c b/mac80211.c
index f15f3cc..47f60c6 100644
--- a/mac80211.c
+++ b/mac80211.c
@@ -649,8 +649,10 @@ static int mwl_mac80211_ampdu_action(struct ieee80211_hw *hw,
spin_lock_bh(&priv->stream_lock);
if (rc) {
mwl_fwcmd_remove_stream(hw, stream);
- wiphy_err(hw->wiphy,
- "ampdu start error code: %d\n", rc);
+ if (printk_ratelimit())
+ wiphy_debug(hw->wiphy,
+ "ampdu start error code: %d(%pM)\n",
+ rc, addr);
rc = -EPERM;
break;
}