diff options
Diffstat (limited to 'drivers/net/wireless/ath/wil6210/interrupt.c')
-rw-r--r-- | drivers/net/wireless/ath/wil6210/interrupt.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/drivers/net/wireless/ath/wil6210/interrupt.c b/drivers/net/wireless/ath/wil6210/interrupt.c index 50c136e843c4..4f2ffa5c6e17 100644 --- a/drivers/net/wireless/ath/wil6210/interrupt.c +++ b/drivers/net/wireless/ath/wil6210/interrupt.c | |||
@@ -394,9 +394,13 @@ static irqreturn_t wil6210_irq_misc_thread(int irq, void *cookie) | |||
394 | wil_fw_core_dump(wil); | 394 | wil_fw_core_dump(wil); |
395 | wil_notify_fw_error(wil); | 395 | wil_notify_fw_error(wil); |
396 | isr &= ~ISR_MISC_FW_ERROR; | 396 | isr &= ~ISR_MISC_FW_ERROR; |
397 | wil_fw_error_recovery(wil); | 397 | if (wil->platform_ops.notify_crash) { |
398 | wil_err(wil, "notify platform driver about FW crash"); | ||
399 | wil->platform_ops.notify_crash(wil->platform_handle); | ||
400 | } else { | ||
401 | wil_fw_error_recovery(wil); | ||
402 | } | ||
398 | } | 403 | } |
399 | |||
400 | if (isr & ISR_MISC_MBOX_EVT) { | 404 | if (isr & ISR_MISC_MBOX_EVT) { |
401 | wil_dbg_irq(wil, "MBOX event\n"); | 405 | wil_dbg_irq(wil, "MBOX event\n"); |
402 | wmi_recv_cmd(wil); | 406 | wmi_recv_cmd(wil); |