mwlwifi: remove the a-mpdu failure messages entirely instead of hiding them in the...
[librecmc/librecmc.git] / package / kernel / mwlwifi / patches / 210-fix_logspam.patch
1 --- a/fwcmd.c
2 +++ b/fwcmd.c
3 @@ -2393,8 +2393,6 @@ int mwl_fwcmd_check_ba(struct ieee80211_
4  
5         if (pcmd->cmd_hdr.result != 0) {
6                 mutex_unlock(&priv->fwcmd_mutex);
7 -               wiphy_err(hw->wiphy, "check ba result error %d\n",
8 -                         le16_to_cpu(pcmd->cmd_hdr.result));
9                 return -EINVAL;
10         }
11  
12 --- a/mac80211.c
13 +++ b/mac80211.c
14 @@ -644,8 +644,6 @@ static int mwl_mac80211_ampdu_action(str
15                 spin_lock_bh(&priv->stream_lock);
16                 if (rc) {
17                         mwl_fwcmd_remove_stream(hw, stream);
18 -                       wiphy_err(hw->wiphy,
19 -                                 "ampdu start error code: %d\n", rc);
20                         rc = -EPERM;
21                         break;
22                 }