aboutsummaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@nbd.name>2016-07-20 23:29:47 +0200
committerZoltan HERPAI <wigyori@uid0.hu>2016-07-20 23:29:47 +0200
commitbf389e7b997bb58d9d6c3297499eaf7f2d5ff7c4 (patch)
treefca28a7793e5881c38c1f8a50e4f1fdb722c1105 /package
parent957808eb4f8bffc9458b6caae05d693fa6b09933 (diff)
downloadmaster-187ad058-bf389e7b997bb58d9d6c3297499eaf7f2d5ff7c4.tar.gz
master-187ad058-bf389e7b997bb58d9d6c3297499eaf7f2d5ff7c4.tar.bz2
master-187ad058-bf389e7b997bb58d9d6c3297499eaf7f2d5ff7c4.zip
mwlwifi: fix excessive logspam if starting a BA session fails
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'package')
-rw-r--r--package/kernel/mwlwifi/patches/210-fix_logspam.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/package/kernel/mwlwifi/patches/210-fix_logspam.patch b/package/kernel/mwlwifi/patches/210-fix_logspam.patch
new file mode 100644
index 0000000000..98688c0582
--- /dev/null
+++ b/package/kernel/mwlwifi/patches/210-fix_logspam.patch
@@ -0,0 +1,24 @@
+--- a/fwcmd.c
++++ b/fwcmd.c
+@@ -2393,7 +2393,7 @@ int mwl_fwcmd_check_ba(struct ieee80211_
+
+ if (pcmd->cmd_hdr.result != 0) {
+ mutex_unlock(&priv->fwcmd_mutex);
+- wiphy_err(hw->wiphy, "check ba result error %d\n",
++ wiphy_debug(hw->wiphy, "check ba result error %d\n",
+ le16_to_cpu(pcmd->cmd_hdr.result));
+ return -EINVAL;
+ }
+--- a/mac80211.c
++++ b/mac80211.c
+@@ -644,8 +644,8 @@ static int mwl_mac80211_ampdu_action(str
+ 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);
++ wiphy_debug(hw->wiphy,
++ "ampdu start error code: %d\n", rc);
+ rc = -EPERM;
+ break;
+ }