qcacld-3.0: Reset the suspend flag on SSR

When cfg80211 suspend comes to the driver it configures the various
offloads to FW and set the hdd_wlan_suspended flag. If FW crashes after
this flag is set, the driver reinitializes but this flag is not
reset. As a result of this, the data packets are dropped which
leads to the connection failure.

To resolve this issue, reset the hdd_wlan_suspended flag during the
driver reinitalization.

CRs-Fixed: 2976125
Change-Id: I125a6a840f9cd7673fed921d1af112a6e1671bcb
This commit is contained in:
Sachin Ahuja 2021-06-24 17:49:22 +05:30 • committed by Madan Koyyalamudi
commit 8cc2c6028f

View file

@ -1632,6 +1632,7 @@ QDF_STATUS hdd_wlan_shutdown(void)
scheduler_resume();
hdd_ctx->is_scheduler_suspended = false;
hdd_ctx->is_wiphy_suspended = false;
hdd_ctx->hdd_wlan_suspended = false;
}
wlan_hdd_rx_thread_resume(hdd_ctx);