Kaynağa Gözat

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
Yun Park 8 yıl önce
ebeveyn
işleme
7e1f7c0ecc
1 değiştirilmiş dosya ile 3 ekleme ve 0 silme
  1. 3 0
      core/hdd/src/wlan_hdd_ipa.c

+ 3 - 0
core/hdd/src/wlan_hdd_ipa.c

@@ -5204,6 +5204,9 @@ static QDF_STATUS __hdd_ipa_cleanup(hdd_context_t *hdd_ctx)
 			    : "leak", i);
 	}
 	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);
 		HDD_IPA_LOG(QDF_TRACE_LEVEL_INFO,
 			    "%s: Disconnect TX PIPE tx_pipe_handle=0x%x",