소스 검색

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 년 전
부모
커밋
0091b22cb0
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  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);