Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 942cd7b5 authored by Bapiraju Alla's avatar Bapiraju Alla Committed by Gerrit - the friendly Code Review server
Browse files

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
parent 54104709
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -1638,6 +1638,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);