Bläddra i källkod

qcacmn: Reduce the log level

Reduce the log level from err or info to debug so that logs
are not printed on console.

Change-Id: I0d33c2a8f5b4bb4974656ac0d1eb6713a74cb5f4
CRs-Fixed: 2516287
Bala Venkatesh 5 år sedan
förälder
incheckning
ae946e39c7
2 ändrade filer med 3 tillägg och 3 borttagningar
  1. 2 2
      umac/cmn_services/crypto/src/wlan_crypto_global_api.c
  2. 1 1
      wmi/src/wmi_unified_tlv.c

+ 2 - 2
umac/cmn_services/crypto/src/wlan_crypto_global_api.c

@@ -3152,7 +3152,7 @@ QDF_STATUS wlan_crypto_set_peer_wep_keys(struct wlan_objmgr_vdev *vdev,
 		return QDF_STATUS_E_NULL_VALUE;
 
 	if (!peer) {
-		crypto_err("peer NULL");
+		crypto_debug("peer NULL");
 		return QDF_STATUS_E_INVAL;
 	}
 
@@ -4004,7 +4004,7 @@ QDF_STATUS wlan_set_vdev_crypto_prarams_from_ie(struct wlan_objmgr_vdev *vdev,
 		wlan_crypto_merge_prarams(vdev_crypto_params, &crypto_params);
 		send_fail = false;
 	} else {
-		crypto_err("get crypto prarams from WPA IE failed");
+		crypto_debug("get crypto prarams from WPA IE failed");
 	}
 
 	return send_fail ? QDF_STATUS_E_FAILURE : QDF_STATUS_SUCCESS;

+ 1 - 1
wmi/src/wmi_unified_tlv.c

@@ -1615,7 +1615,7 @@ static QDF_STATUS send_pdev_set_hw_mode_cmd_tlv(wmi_unified_t wmi_handle,
 	cmd->pdev_id = wmi_handle->ops->convert_pdev_id_host_to_target(
 							WMI_HOST_PDEV_ID_SOC);
 	cmd->hw_mode_index = hw_mode_index;
-	WMI_LOGI("%s: HW mode index:%d", __func__, cmd->hw_mode_index);
+	WMI_LOGD("%s: HW mode index:%d", __func__, cmd->hw_mode_index);
 
 	wmi_mtrace(WMI_PDEV_SET_HW_MODE_CMDID, NO_SESSION, 0);
 	if (wmi_unified_cmd_send(wmi_handle, buf, len,