qcacld-3.0: Add NULL check for hif_ctx
This change is to add NULL check for hif_ctx. Change-Id: Ie8d13e13a7dcb7071a2e492c4e34a26b96b01d1c CRs-Fixed: 3776529
This commit is contained in:

gecommit door
Ravindra Konda

bovenliggende
a03f3479a8
commit
3ffb15e2b9
@@ -1394,6 +1394,12 @@ QDF_STATUS pmo_core_psoc_send_host_wakeup_ind_to_fw(
|
||||
|
||||
hif_ctx = pmo_core_psoc_get_hif_handle(psoc);
|
||||
|
||||
if (!hif_ctx) {
|
||||
pmo_err("hif_ctx is NULL");
|
||||
status = QDF_STATUS_E_INVAL;
|
||||
goto out;
|
||||
}
|
||||
|
||||
hif_set_ep_intermediate_vote_access(hif_ctx);
|
||||
|
||||
qdf_event_reset(&psoc_ctx->wow.target_resume);
|
||||
|
Verwijs in nieuw issue
Block a user