mirror of https://github.com/hak5/openwrt-owl.git
mwlwifi: fix excessive logspam if starting a BA session fails
Signed-off-by: Felix Fietkau <nbd@nbd.name>owl
parent
29ad4d2a0c
commit
4926e4b1ae
|
@ -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;
|
||||
}
|
Loading…
Reference in New Issue