qcacld-3.0: Reduce the info level logs in STA/SAP
qcacld-2.0 to qcacld-3.0 propagation
Reduce the info level logs in STA/SAP
Change-Id: I5918ea8e9dd2f7654e5a994ad366f92d2ca3cd77
CRs-Fixed: 988195
diff --git a/core/hdd/src/wlan_hdd_ipa.c b/core/hdd/src/wlan_hdd_ipa.c
index 90e6c72..69cbf00 100644
--- a/core/hdd/src/wlan_hdd_ipa.c
+++ b/core/hdd/src/wlan_hdd_ipa.c
@@ -1226,10 +1226,8 @@
* When SSR is going on or driver is unloading, just return.
*/
status = wlan_hdd_validate_context(hdd_ipa->hdd_ctx);
- if (0 != status) {
- HDD_IPA_LOG(QDF_TRACE_LEVEL_ERROR, "HDD context is not valid");
+ if (status)
return;
- }
if (!hdd_ipa_is_rm_enabled(hdd_ipa->hdd_ctx))
return;
@@ -1359,8 +1357,7 @@
* When SSR is going on or driver is unloading, just return.
*/
status = wlan_hdd_validate_context(hdd_ctx);
- if (0 != status) {
- HDD_IPA_LOG(QDF_TRACE_LEVEL_ERROR, "HDD context is not valid");
+ if (status) {
qdf_mem_free(op_msg);
return;
}
@@ -1706,10 +1703,8 @@
QDF_STATUS status = QDF_STATUS_SUCCESS;
status = wlan_hdd_validate_context(hdd_ctx);
- if (0 != status) {
- HDD_IPA_LOG(QDF_TRACE_LEVEL_ERROR, "HDD context is not valid");
+ if (status)
goto end;
- }
msg = (struct op_msg_type *)op_msg;
hdd_ipa = ((hdd_context_t *)hdd_ctx)->hdd_ipa;
@@ -2824,8 +2819,7 @@
* connect back any way
*/
status = wlan_hdd_validate_context(hdd_ipa->hdd_ctx);
- if (0 != status) {
- HDD_IPA_LOG(QDF_TRACE_LEVEL_ERROR, "HDD context is not valid");
+ if (status) {
ipa_free_skb(ipa_tx_desc);
iface_context->stats.num_tx_drop++;
return;