Pārlūkot izejas kodu

qcacld-3.0: Reset wlan suspended flag after SSR

When there is an SSR in between suspend resume sequence,
the resume request will be rejected due to SSR and suspend flag is
not being reset after SSR. Because of this Tx frames are getting
dropped at hdd.

To avoid this, reset wlan suspended flag after SSR.

Change-Id: I3e0e9cb207da0933a85810820038b5b6a90310a6
CRs-Fixed: 3020583
Bapiraju Alla 3 gadi atpakaļ
vecāks
revīzija
c3c4e54925
1 mainītis faili ar 3 papildinājumiem un 0 dzēšanām
  1. 3 0
      core/hdd/src/wlan_hdd_power.c

+ 3 - 0
core/hdd/src/wlan_hdd_power.c

@@ -1916,6 +1916,9 @@ QDF_STATUS hdd_wlan_re_init(void)
 	if (hdd_ctx->is_wiphy_suspended)
 		hdd_ctx->is_wiphy_suspended = false;
 
+	if (hdd_ctx->hdd_wlan_suspended)
+		hdd_ctx->hdd_wlan_suspended = false;
+
 	return QDF_STATUS_SUCCESS;
 
 err_re_init: