Browse Source

qcacld-3.0: Cleanup redundant error logs

Change few repeating error logs to debug level.

Change-Id: Ie64d4a99e70dae6dd9548bfa90914075c73feb77
CRs-Fixed: 3509900
Pragaspathi Thilagaraj 1 year ago
parent
commit
a598c36737

+ 1 - 1
components/tdls/core/src/wlan_tdls_ct.c

@@ -1253,7 +1253,7 @@ int tdls_set_tdls_offchannelmode(struct wlan_objmgr_vdev *vdev,
 
 	conn_peer = tdls_find_first_connected_peer(tdls_vdev);
 	if (!conn_peer) {
-		tdls_err("No TDLS Connected Peer");
+		tdls_debug("No TDLS Connected Peer");
 		return -EPERM;
 	}
 

+ 2 - 2
components/tdls/core/src/wlan_tdls_main.c

@@ -1092,13 +1092,13 @@ tdls_process_policy_mgr_notification(struct wlan_objmgr_psoc *psoc)
 	QDF_STATUS status;
 
 	if (!psoc) {
-		tdls_err("psoc: %pK", psoc);
+		tdls_err("psoc is NULL");
 		return QDF_STATUS_E_NULL_VALUE;
 	}
 
 	tdls_vdev = tdls_get_vdev(psoc, WLAN_TDLS_NB_ID);
 	if (!tdls_vdev) {
-		tdls_err("No TDLS vdev");
+		tdls_debug("No TDLS vdev");
 		return QDF_STATUS_E_NULL_VALUE;
 	}
 

+ 3 - 5
components/umac/twt/core/src/wlan_twt_main.c

@@ -786,12 +786,10 @@ wlan_twt_sap_init_context(struct wlan_objmgr_psoc *psoc,
 			  struct qdf_mac_addr *peer_mac,
 			  uint8_t dialog_id)
 {
-	if (qdf_is_macaddr_broadcast(peer_mac)) {
-		return wlan_twt_init_all_peers_context(psoc, vdev_id,
-						       dialog_id);
-	} else {
+	if (!qdf_is_macaddr_broadcast(peer_mac))
 		return wlan_twt_init_context(psoc, peer_mac, dialog_id);
-	}
+
+	return wlan_twt_init_all_peers_context(psoc, vdev_id, dialog_id);
 }
 
 /**

+ 1 - 1
core/sme/src/qos/sme_qos.c

@@ -5849,7 +5849,7 @@ static QDF_STATUS sme_qos_delete_existing_flows(struct mac_context *mac,
 
 	pEntry = csr_ll_peek_head(&sme_qos_cb.flow_list, true);
 	if (!pEntry) {
-		sme_err("Flow List empty, nothing to delete");
+		sme_debug("Flow List empty, nothing to delete");
 		return QDF_STATUS_E_FAILURE;
 	}
 	while (pEntry) {