mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-17 14:26:44 +07:00
wil6210: fix recovery after scan timeout
Scan timeout treated as indication for firmware error; and should be handled in the same way. Recovery state machine does not perform as designed because its state is not updated in case of scan timeout. Fix is to set recovery state machine into the proper state. Signed-off-by: Vladimir Kondratiev <qca_vkondrat@qca.qualcomm.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
parent
40e391b433
commit
60abbb6ee6
@ -220,6 +220,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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user