aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel/mwlwifi/patches
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@nbd.name>2016-05-22 15:43:08 +0200
committerFelix Fietkau <nbd@nbd.name>2016-05-22 15:51:21 +0200
commit2c9c998b4a9f6aac24ae8b0690319ad1d704a7ae (patch)
treeae23ff472a4fca64cc54a0b44ea7c82436b4c97d /package/kernel/mwlwifi/patches
parent848cacb21db4e977635087d1fa2691b7c67eb79d (diff)
downloadupstream-2c9c998b4a9f6aac24ae8b0690319ad1d704a7ae.tar.gz
upstream-2c9c998b4a9f6aac24ae8b0690319ad1d704a7ae.tar.bz2
upstream-2c9c998b4a9f6aac24ae8b0690319ad1d704a7ae.zip
mwlwifi: remove the a-mpdu failure messages entirely instead of hiding them in the debug log
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'package/kernel/mwlwifi/patches')
-rw-r--r--package/kernel/mwlwifi/patches/210-fix_logspam.patch10
1 files changed, 4 insertions, 6 deletions
diff --git a/package/kernel/mwlwifi/patches/210-fix_logspam.patch b/package/kernel/mwlwifi/patches/210-fix_logspam.patch
index 98688c0582..99b247fee3 100644
--- a/package/kernel/mwlwifi/patches/210-fix_logspam.patch
+++ b/package/kernel/mwlwifi/patches/210-fix_logspam.patch
@@ -1,24 +1,22 @@
--- a/fwcmd.c
+++ b/fwcmd.c
-@@ -2393,7 +2393,7 @@ int mwl_fwcmd_check_ba(struct ieee80211_
+@@ -2393,8 +2393,6 @@ 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));
+- 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
+@@ -644,8 +644,6 @@ 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;
}