From 8cc2c6028f2daa5d4cefe367c61098758e9aa9b0 Mon Sep 17 00:00:00 2001 From: Sachin Ahuja Date: Thu, 24 Jun 2021 17:49:22 +0530 Subject: [PATCH] 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 --- core/hdd/src/wlan_hdd_power.c | 1 + 1 file changed, 1 insertion(+) diff --git a/core/hdd/src/wlan_hdd_power.c b/core/hdd/src/wlan_hdd_power.c index 15ad4993d2d0..86ce364829ab 100644 --- a/core/hdd/src/wlan_hdd_power.c +++ b/core/hdd/src/wlan_hdd_power.c @@ -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);