wil6210: use wil_fw_error_recovery()
Use function wil_fw_error_recovery() instead of inline equivalent code Signed-off-by: Vladimir Kondratiev <qca_vkondrat@qca.qualcomm.com> Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
This commit is contained in:
parent
3e9191fce2
commit
8ad6600fbd
@ -271,8 +271,7 @@ static void wil_scan_timer_fn(ulong x)
|
||||
|
||||
clear_bit(wil_status_fwready, wil->status);
|
||||
wil_err(wil, "Scan timeout detected, start fw error recovery\n");
|
||||
wil->recovery_state = fw_recovery_pending;
|
||||
schedule_work(&wil->fw_error_worker);
|
||||
wil_fw_error_recovery(wil);
|
||||
}
|
||||
|
||||
static int wil_wait_for_recovery(struct wil6210_priv *wil)
|
||||
|
Loading…
Reference in New Issue
Block a user