ath10k: move non-fatal warn logs to dbg level
authorGovind Singh <govinds@codeaurora.org>
Thu, 20 Dec 2018 07:53:43 +0000 (09:53 +0200)
committerKalle Valo <kvalo@codeaurora.org>
Thu, 20 Dec 2018 17:06:01 +0000 (19:06 +0200)
During driver load below warn logs are printed in the console.
Since driver may not implement all wmi events sent by fw and
all of them are non-fatal, move this log to debug level to
remove un-necessary warn message on console.

[  361.887230] ath10k_snoc a000000.wifi: Unknown eventid: 16393
[  361.907037] ath10k_snoc a000000.wifi: Unknown eventid: 237569

Signed-off-by: Govind Singh <govinds@codeaurora.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/ath/ath10k/wmi-tlv.c

index ad4114a88170089f5405f9b165bbba8e71253ee7..892bd8c30dd99d4d20d11a919847356661330d39 100644 (file)
@@ -621,7 +621,7 @@ static void ath10k_wmi_tlv_op_rx(struct ath10k *ar, struct sk_buff *skb)
                ath10k_wmi_event_mgmt_tx_compl(ar, skb);
                break;
        default:
-               ath10k_warn(ar, "Unknown eventid: %d\n", id);
+               ath10k_dbg(ar, ATH10K_DBG_WMI, "Unknown eventid: %d\n", id);
                break;
        }