qcacld-3.0: Clear recovery flag after idle restart

Clear recovery flag after idle restart such that next time wifi can
turn on properly.

Change-Id: I7063a9edd08334a84068f88c0564dd4f2aabf666
CRs-Fixed: 2507899
This commit is contained in:
Alan Chen 2019-08-12 17:08:22 -07:00 • committed by nshrivas
commit 6a5eb9339c

View file

@ -9713,6 +9713,7 @@ static int __hdd_mode_change_psoc_idle_shutdown(struct hdd_context *hdd_ctx)
int hdd_psoc_idle_shutdown(struct device *dev)
{
int ret;
struct hdd_context *hdd_ctx = cds_get_context(QDF_MODULE_ID_HDD);
if (!hdd_ctx) {
@ -9721,9 +9722,13 @@ int hdd_psoc_idle_shutdown(struct device *dev)
}
if (is_mode_change_psoc_idle_shutdown)
return __hdd_mode_change_psoc_idle_shutdown(hdd_ctx);
ret = __hdd_mode_change_psoc_idle_shutdown(hdd_ctx);
else
return __hdd_psoc_idle_shutdown(hdd_ctx);
ret = __hdd_psoc_idle_shutdown(hdd_ctx);
cds_set_recovery_in_progress(false);
return ret;
}
static int __hdd_psoc_idle_restart(struct hdd_context *hdd_ctx)