]> git.karo-electronics.de Git - linux-beck.git/commitdiff
brcmsmac: Reduce log spam in heavy tx, make err print in debug
authorJohn Greene <jogreene@redhat.com>
Mon, 3 Jun 2013 13:47:39 +0000 (09:47 -0400)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 3 Jun 2013 19:55:48 +0000 (15:55 -0400)
Move message to debug mode to reduce log spam under heavy tx (iperf) load.
This message prints in ht debug mode only:
brcms_c_ampdu_dotxstatus_complete: Pkt tx suppressed, illegal channel
possibly 153

Signed-off-by: John Greene <jogreene@redhat.com>
Acked-by: Arend van Spriel <arend@broadcom.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/brcm80211/brcmsmac/ampdu.c

index 1585cc5bf866b847e86f6210074b4c89b6c0b26f..bd982856d3853b4c6415b43c137d76b3eb4eeabf 100644 (file)
@@ -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));