summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYun Park <yunp@qca.qualcomm.com>2016-01-04 20:51:51 -0800
committerGerrit - the friendly Code Review server <code-review@localhost>2016-01-18 02:56:43 -0800
commitfc61bc3e6c0bd52af889993c7a4e24bdcf84ae9c (patch)
tree10a40422c465a57d087e3a0e88928811751c22ca
parent788ddb61a776be161bb8c2a6c196ea9579724a6a (diff)
qcacld: deregister IPA uC ready callback
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 3a039e39db4f..102bda227af9 100644
--- a/CORE/HDD/src/wlan_hdd_ipa.c
+++ b/CORE/HDD/src/wlan_hdd_ipa.c
@@ -5032,6 +5032,9 @@ VOS_STATUS hdd_ipa_cleanup(hdd_context_t *hdd_ctx)
#ifdef IPA_UC_OFFLOAD
if (hdd_ipa_uc_is_enabled(hdd_ipa)) {
+ if (ipa_uc_dereg_rdyCB())
+ HDD_IPA_LOG(VOS_TRACE_LEVEL_ERROR,
+ "UC Ready CB deregister fail");
hdd_ipa_uc_rt_debug_deinit(hdd_ctx);
if (VOS_TRUE == hdd_ipa->uc_loaded) {
HDD_IPA_LOG(VOS_TRACE_LEVEL_INFO,