summaryrefslogtreecommitdiff
path: root/fwcmd.c
diff options
context:
space:
mode:
Diffstat (limited to 'fwcmd.c')
-rw-r--r--fwcmd.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/fwcmd.c b/fwcmd.c
index ef24be4..e159304 100644
--- a/fwcmd.c
+++ b/fwcmd.c
@@ -2393,8 +2393,10 @@ int mwl_fwcmd_check_ba(struct ieee80211_hw *hw,
if (pcmd->cmd_hdr.result != 0) {
mutex_unlock(&priv->fwcmd_mutex);
- wiphy_err(hw->wiphy, "check ba result error %d\n",
- le16_to_cpu(pcmd->cmd_hdr.result));
+ if (printk_ratelimit())
+ wiphy_debug(hw->wiphy, "check ba result err %d(%pM)\n",
+ le16_to_cpu(pcmd->cmd_hdr.result),
+ stream->sta->addr);
return -EINVAL;
}