Просмотр исходного кода

qcacmn: Clean up unwanted prints or change to appropriate log levels

Remove unwanted prints from the dirver and also change tha log levels
from some of the prints which could be useful in debug pruposes only.

Change-Id: I2b4e0c94fcf1571b332fc005b34bc4b7bcb4b7c5
Vivek 7 лет назад
Родитель
Сommit
8fe2d7704c

+ 0 - 1
umac/cmn_services/crypto/src/wlan_crypto_global_api.c

@@ -667,7 +667,6 @@ QDF_STATUS wlan_crypto_delkey(struct wlan_objmgr_vdev *vdev,
 				bssid_mac,
 				WLAN_CRYPTO_ID);
 		if (peer == NULL) {
-			qdf_print("%s[%d] peer NULL\n", __func__, __LINE__);
 			return QDF_STATUS_E_INVAL;
 		}
 		crypto_params = wlan_crypto_peer_get_comp_params(peer,

+ 0 - 1
wmi/src/wmi_unified_non_tlv.c

@@ -3519,7 +3519,6 @@ send_wmm_update_cmd_non_tlv(wmi_unified_t wmi_handle,
 	struct wmi_host_wmeParams *wmep;
 
 	buf = wmi_buf_alloc(wmi_handle, len);
-	qdf_print("%s:\n", __func__);
 	if (!buf) {
 		qdf_print("%s:wmi_buf_alloc failed\n", __func__);
 		return QDF_STATUS_SUCCESS;

+ 2 - 1
wmi/src/wmi_unified_tlv.c

@@ -15099,7 +15099,8 @@ static QDF_STATUS init_cmd_send_tlv(wmi_unified_t wmi_handle,
 		host_mem_chunks[idx].ptr = param->mem_chunks[idx].paddr;
 		host_mem_chunks[idx].size = param->mem_chunks[idx].len;
 		host_mem_chunks[idx].req_id = param->mem_chunks[idx].req_id;
-		qdf_print("chunk %d len %d requested ,ptr  0x%x ",
+		QDF_TRACE(QDF_MODULE_ID_ANY, QDF_TRACE_LEVEL_DEBUG,
+				"chunk %d len %d requested ,ptr  0x%x ",
 				idx, host_mem_chunks[idx].size,
 				host_mem_chunks[idx].ptr);
 	}