]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
ath10k: remove unnecessary warning for probe response drops
authorRajkumar Manoharan <rmanohar@qti.qualcomm.com>
Thu, 7 Apr 2016 06:37:30 +0000 (12:07 +0530)
committerKalle Valo <kvalo@qca.qualcomm.com>
Thu, 7 Apr 2016 15:49:43 +0000 (18:49 +0300)
qca99x0 and qca4019 solutions limit probe responses transmissions.
Logging warning message for each probe response drop is flooding
kernel log unnecessary with " failed to increase tx mgmt pending
count: -16, dropping". Hence reducing log level to debug.

Reported-by: Sebastian Gottschall <s.gottschall@dd-wrt.com>
Signed-off-by: Rajkumar Manoharan <rmanohar@qti.qualcomm.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath10k/mac.c

index 20d72e29dfa1911a2200e09d55101d939508b9b0..b0e613bc10a5000f8249a388fc0174d5f82b5371 100644 (file)
@@ -3994,8 +3994,8 @@ static void ath10k_mac_op_tx(struct ieee80211_hw *hw,
 
                ret = ath10k_htt_tx_mgmt_inc_pending(htt, is_mgmt, is_presp);
                if (ret) {
-                       ath10k_warn(ar, "failed to increase tx mgmt pending count: %d, dropping\n",
-                                   ret);
+                       ath10k_dbg(ar, ATH10K_DBG_MAC, "failed to increase tx mgmt pending count: %d, dropping\n",
+                                  ret);
                        ath10k_htt_tx_dec_pending(htt);
                        spin_unlock_bh(&ar->htt.tx_lock);
                        ieee80211_free_txskb(ar->hw, skb);