diff options
author | Vladimir Kondratiev <QCA_vkondrat@QCA.qualcomm.com> | 2015-07-30 13:51:54 +0300 |
---|---|---|
committer | Kalle Valo <kvalo@qca.qualcomm.com> | 2015-08-06 09:42:45 +0300 |
commit | 8ad6600fbdd699f0d7a3ec250d20256a7ec98889 (patch) | |
tree | b9d202915be1a618f76a2b388f89e1050f65a2db /drivers/net/wireless/ath/wil6210 | |
parent | 3e9191fce2d6b36a429dc046cdc1f7e8ec70465c (diff) | |
download | blackbird-obmc-linux-8ad6600fbdd699f0d7a3ec250d20256a7ec98889.tar.gz blackbird-obmc-linux-8ad6600fbdd699f0d7a3ec250d20256a7ec98889.zip |
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>
Diffstat (limited to 'drivers/net/wireless/ath/wil6210')
-rw-r--r-- | drivers/net/wireless/ath/wil6210/main.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/net/wireless/ath/wil6210/main.c b/drivers/net/wireless/ath/wil6210/main.c index ae0df3588e5d..c77ae1739afc 100644 --- a/drivers/net/wireless/ath/wil6210/main.c +++ b/drivers/net/wireless/ath/wil6210/main.c @@ -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) |