summaryrefslogtreecommitdiff
path: root/fwcmd.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 /fwcmd.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 '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;
}