diff options
| author | Kai Liu <kaliu@codeaurora.org> | 2017-10-10 15:07:25 +0800 |
|---|---|---|
| committer | snandini <snandini@codeaurora.org> | 2017-10-12 10:22:11 -0700 |
| commit | 24c092ef241d25ab6d87a1d78a1c688aea057140 (patch) | |
| tree | 145998f494f089a1ebe873eeb6d5fc99bec71474 /core/bmi/src | |
| parent | 29b0b60494daa82a3eccea21667f0f07e72564c5 (diff) | |
qcacld-3.0: skip notifying SSR framework when wlan unloading is ongoing
Fw assert and unloading can occur at same moment, there is no need
to recover if wlan unloading is ongoing, so skip notifying SSR framework
in such case.
Change-Id: I2176d1505e8e358f4436277e4d0b706923596f27
CRs-Fixed: 2087634
Diffstat (limited to 'core/bmi/src')
| -rw-r--r-- | core/bmi/src/ol_fw.c | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/core/bmi/src/ol_fw.c b/core/bmi/src/ol_fw.c index 1a9f8ac5497c..7d181b290ad5 100644 --- a/core/bmi/src/ol_fw.c +++ b/core/bmi/src/ol_fw.c @@ -574,8 +574,14 @@ void ramdump_work_handler(void *data) BMI_ERR("%s: RAM dump collecting completed!", __func__); - /* notify SSR framework the target has crashed. */ - pld_device_crashed(qdf_dev->dev); + /* + * if unloading is in progress, then skip SSR, + * otherwise notify SSR framework the target has crashed. + */ + if (cds_is_load_or_unload_in_progress()) + cds_set_recovery_in_progress(false); + else + pld_device_crashed(qdf_dev->dev); return; out_fail: |
