Search Linux Wireless

Re: [PATCH] brcmsmac: Reduce log spam in heavy tx, make err print in debug

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 06/03/2013 06:54 PM, Joe Perches wrote:
On Mon, 2013-06-03 at 09:47 -0400, John Greene wrote:
Move message to debug mode to reduce log spam under heavy tx (iperf) load.
[]
diff --git a/drivers/net/wireless/brcm80211/brcmsmac/ampdu.c b/drivers/net/wireless/brcm80211/brcmsmac/ampdu.c
[]
@@ -900,7 +900,7 @@ brcms_c_ampdu_dotxstatus_complete(struct ampdu_info *ampdu, struct scb *scb,
  		if (supr_status) {
  			update_rate = false;
  			if (supr_status == TX_STATUS_SUPR_BADCH) {
-				brcms_err(wlc->hw->d11core,
+				brcms_dbg_ht(wlc->hw->d11core,
  					  "%s: Pkt tx suppressed, illegal channel possibly %d\n",
  					  __func__, CHSPEC_CHANNEL(
  					  wlc->default_bss->chanspec));

net_ratelimited instead?

Yes and only when driver debug level is set.

Regards,
Arend


--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux