summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYun Park <yunp@codeaurora.org>2017-01-05 08:19:49 -0800
committerqcabuildsw <qcabuildsw@localhost>2017-02-05 12:51:52 -0800
commit885fa3b0379380952b6f0e7d81ffe2c2ff05e6c2 (patch)
treefd9a683481947ea9f10ba66929d43820f67618d9
parent955fe945508506e88745d8ade38ac6bae5a0db56 (diff)
qcacld-3.0: deregister IPA uC ready callback
qcacld-2.0 to qcacld-3.0 propagation When WLAN driver unloading, reset IPA uC ready callback. Change-Id: Icc973ae3e8a31bc01d49aeed799b1f0c1cea170a CRs-Fixed: 956668
-rw-r--r--core/hdd/src/wlan_hdd_ipa.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/core/hdd/src/wlan_hdd_ipa.c b/core/hdd/src/wlan_hdd_ipa.c
index 22eda311df45..66d6f5cc8813 100644
--- a/core/hdd/src/wlan_hdd_ipa.c
+++ b/core/hdd/src/wlan_hdd_ipa.c
@@ -5986,6 +5986,9 @@ static QDF_STATUS __hdd_ipa_cleanup(hdd_context_t *hdd_ctx)
}
if (hdd_ipa_uc_is_enabled(hdd_ctx)) {
+ if (ipa_uc_dereg_rdyCB())
+ HDD_IPA_LOG(QDF_TRACE_LEVEL_ERROR,
+ "UC Ready CB deregister fail");
hdd_ipa_uc_rt_debug_deinit(hdd_ctx);
if (true == hdd_ipa->uc_loaded) {
HDD_IPA_LOG(QDF_TRACE_LEVEL_INFO,