mirror of https://gitee.com/openkylin/linux.git
rtlwifi: rtl8821ae: Silence useless log output
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>
This commit is contained in:
parent
89ef41bfaa
commit
7b5acd11a3
|
@ -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);
|
err = _rtl8821ae_fw_free_to_go(hw);
|
||||||
if (err) {
|
if (err) {
|
||||||
RT_TRACE(rtlpriv, COMP_ERR, DBG_EMERG,
|
RT_TRACE(rtlpriv, COMP_ERR, DBG_DMESG,
|
||||||
"Firmware is not ready to run!\n");
|
"Firmware is not ready to run!\n");
|
||||||
} else {
|
} else {
|
||||||
RT_TRACE(rtlpriv, COMP_FW, DBG_LOUD,
|
RT_TRACE(rtlpriv, COMP_FW, DBG_LOUD,
|
||||||
|
|
Loading…
Reference in New Issue