Ver código fonte

qcacld-3.0: Resume all modules before recovery shutdown

cfg80211 resume request will be rejected if there is an SSR in
progress, Because of this modules are not coming out of suspend state
when there is an SSR after suspend request.

To avoid this, resume all modules before recovery shutdown.

Change-Id: I3d749e0a5971468805a009cb990a220e0645c169
CRs-Fixed: 3016002
Bapiraju Alla 3 anos atrás
pai
commit
0091b22cb0
1 arquivos alterados com 2 adições e 0 exclusões
  1. 2 0
      core/hdd/src/wlan_hdd_power.c

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

@@ -1646,6 +1646,8 @@ QDF_STATUS hdd_wlan_shutdown(void)
 		hdd_ctx->is_scheduler_suspended = false;
 		hdd_ctx->is_wiphy_suspended = false;
 		hdd_ctx->hdd_wlan_suspended = false;
+		ucfg_pmo_resume_all_components(hdd_ctx->psoc,
+					       QDF_SYSTEM_SUSPEND);
 	}
 
 	wlan_hdd_rx_thread_resume(hdd_ctx);