提交 8079de0d 编写于 作者: M Michal Kazior 提交者: Kalle Valo

ath10k: move fw init print

Firmware probing is done only once when driver is
registered and firmware version is guaranteed to
remain the same until driver is unregistered.
Signed-off-by: NMichal Kazior <michal.kazior@tieto.com>
Signed-off-by: NKalle Valo <kvalo@qca.qualcomm.com>
上级 8a0c797e
...@@ -815,11 +815,6 @@ int ath10k_core_start(struct ath10k *ar) ...@@ -815,11 +815,6 @@ int ath10k_core_start(struct ath10k *ar)
INIT_LIST_HEAD(&ar->arvifs); INIT_LIST_HEAD(&ar->arvifs);
if (!test_bit(ATH10K_FLAG_FIRST_BOOT_DONE, &ar->dev_flags))
ath10k_print_driver_info(ar);
__set_bit(ATH10K_FLAG_FIRST_BOOT_DONE, &ar->dev_flags);
return 0; return 0;
err_hif_stop: err_hif_stop:
...@@ -924,6 +919,7 @@ static int ath10k_core_probe_fw(struct ath10k *ar) ...@@ -924,6 +919,7 @@ static int ath10k_core_probe_fw(struct ath10k *ar)
return ret; return ret;
} }
ath10k_print_driver_info(ar);
ath10k_core_stop(ar); ath10k_core_stop(ar);
mutex_unlock(&ar->conf_mutex); mutex_unlock(&ar->conf_mutex);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册