qcacld-3.0: Reset the wiphy suspended flag at the end of SSR

During the wakeup sequence if there is any firmware recovery
the resume would be rejected and the flag "is_wiphy_suspended"
would not be reset in the system resume.

So, at the end of the SSR reset the flag since the system has
already resumed completely.

Change-Id: I86b0adade1dfb5710df2f86a3922320308407fe9
CRs-Fixed: 3005606
This commit is contained in:
Arun Kumar Khandavalli 2021-08-02 22:28:57 +05:30 • committed by Madan Koyyalamudi
commit ca2b90a35f

View file

@ -1871,6 +1871,10 @@ QDF_STATUS hdd_wlan_re_init(void)
if (value)
hdd_ssr_restart_sap(hdd_ctx);
hdd_wlan_ssr_reinit_event();
if (hdd_ctx->is_wiphy_suspended)
hdd_ctx->is_wiphy_suspended = false;
return QDF_STATUS_SUCCESS;
err_re_init: