mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-26 06:33:19 -04:00
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:
parent
bb673cfc19
commit
6a5eb9339c
1 changed files with 7 additions and 2 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue