summaryrefslogtreecommitdiff
path: root/mac80211.c
diff options
context:
space:
mode:
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;
}