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

Commit ca2b90a3 authored by Arun Kumar Khandavalli's avatar Arun Kumar Khandavalli Committed by Madan Koyyalamudi
Browse files

qcacld-3.0: Reset the wiphy suspended flag at the end of SSR

During the wakeup sequence if there is any firmware recovery
the resume would be rejected and the flag "is_wiphy_suspended"
would not be reset in the system resume.

So, at the end of the SSR reset the flag since the system has
already resumed completely.

Change-Id: I86b0adade1dfb5710df2f86a3922320308407fe9
CRs-Fixed: 3005606
parent 0efd33bb
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -1871,6 +1871,10 @@ QDF_STATUS hdd_wlan_re_init(void)
	if (value)
		hdd_ssr_restart_sap(hdd_ctx);
	hdd_wlan_ssr_reinit_event();

	if (hdd_ctx->is_wiphy_suspended)
		hdd_ctx->is_wiphy_suspended = false;

	return QDF_STATUS_SUCCESS;

err_re_init: