rtlwifi: rtl8821ae: Silence useless log output
authorLarry Finger <Larry.Finger@lwfinger.net>
Thu, 11 Feb 2016 16:56:22 +0000 (10:56 -0600)
committerKalle Valo <kvalo@codeaurora.org>
Mon, 7 Mar 2016 11:59:08 +0000 (13:59 +0200)
When driver rtl8821ae is loaded but not connected to any AP, it logs
a "firmware not ready to run" message roughly once a minute. To
eliminate logging this massage under normal debug conditions, the
degug level needed to print this message is increased.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/realtek/rtlwifi/rtl8821ae/fw.c

index 525eb23..a4fc70e 100644 (file)
@@ -271,7 +271,7 @@ int rtl8821ae_download_fw(struct ieee80211_hw *hw, bool buse_wake_on_wlan_fw)
 
        err = _rtl8821ae_fw_free_to_go(hw);
        if (err) {
-               RT_TRACE(rtlpriv, COMP_ERR, DBG_EMERG,
+               RT_TRACE(rtlpriv, COMP_ERR, DBG_DMESG,
                         "Firmware is not ready to run!\n");
        } else {
                RT_TRACE(rtlpriv, COMP_FW, DBG_LOUD,