mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-14 16:46:15 -04:00
qcacld-3.0: Fix uninitialized IPA MCC work cancellation
IPA MCC work is initialiazed only when uc code loaded successfully, before canceling MCC work check for uc load success state. Change-Id: I9af501d1b974d0da21891634bde2beafd69701b2 CRs-Fixed: 2822382
This commit is contained in:
parent
8a91558107
commit
07506c978d
1 changed files with 2 additions and 1 deletions
|
|
@ -3297,7 +3297,8 @@ QDF_STATUS wlan_ipa_cleanup(struct wlan_ipa_priv *ipa_ctx)
|
|||
/* Teardown IPA sys_pipe for MCC */
|
||||
if (wlan_ipa_uc_sta_is_enabled(ipa_ctx->config)) {
|
||||
wlan_ipa_teardown_sys_pipe(ipa_ctx);
|
||||
qdf_cancel_work(&ipa_ctx->mcc_work);
|
||||
if (ipa_ctx->uc_loaded)
|
||||
qdf_cancel_work(&ipa_ctx->mcc_work);
|
||||
}
|
||||
|
||||
wlan_ipa_wdi_destroy_rm(ipa_ctx);
|
||||
|
|
|
|||
Loading…
Reference in a new issue