rtw88: avoid FW info flood
authorYan-Hsuan Chuang <yhchuang@realtek.com>
Fri, 25 Oct 2019 09:33:45 +0000 (17:33 +0800)
committerKalle Valo <kvalo@codeaurora.org>
Thu, 31 Oct 2019 08:03:51 +0000 (10:03 +0200)
commit5195b904264098839144d08d23c600811de2e2da
treef2149f256fb6c5a455e517c258e52d9d037636d7
parent18a0696e85fde169e0109aa61d0505b2b935b59d
rtw88: avoid FW info flood

The FW info was printed everytime driver is powered on, such as
leaving IDLE state. It will flood the kernel log.

Move the FW info printing to callback when FW is loaded, so
that will only be printed once when device is probed.

Signed-off-by: Yan-Hsuan Chuang <yhchuang@realtek.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/realtek/rtw88/mac.c
drivers/net/wireless/realtek/rtw88/main.c