qcacmn: Replace WMI_LOGW() with wmi_* appropriate log level

Replace WMI_LOGW() with  with wmi_* appropriate log level.

Change-Id: Idfc41fed4f31fb197ca8f46d3ed3a4af21f2fdae
CRs-Fixed: 2774563
This commit is contained in:
Srinivas Girigowda 2020-09-08 20:29:35 -07:00 • committed by snandini
commit a5aa1420d2
2 changed files with 5 additions and 7 deletions

View file

@ -1,5 +1,5 @@
/*
* Copyright (c) 2013-2019 The Linux Foundation. All rights reserved.
* Copyright (c) 2013-2020 The Linux Foundation. All rights reserved.
*
* Permission to use, copy, modify, and/or distribute this software for
* any purpose with or without fee is hereby granted, provided that the
@ -744,7 +744,7 @@ static QDF_STATUS extract_ocb_dcc_stats_tlv(wmi_unified_t wmi_handle,
if (fix_param->num_channels > ((WMI_SVC_MSG_MAX_SIZE -
sizeof(*fix_param)) / sizeof(wmi_dcc_ndl_stats_per_channel)) ||
fix_param->num_channels > param_tlvs->num_stats_per_channel_list) {
WMI_LOGW("%s: too many channels:%d actual:%d", __func__,
wmi_warn("Too many channels:%d actual:%d",
fix_param->num_channels,
param_tlvs->num_stats_per_channel_list);
*resp = NULL;

View file

@ -1264,7 +1264,7 @@ static QDF_STATUS send_peer_param_cmd_tlv(wmi_unified_t wmi,
param_id = convert_host_peer_param_id_to_target_id_tlv(param->param_id);
if (param_id == WMI_UNAVAILABLE_PARAM) {
WMI_LOGW("%s: Unavailable param %d", __func__, param->param_id);
wmi_err("Unavailable param %d", param->param_id);
return QDF_STATUS_E_NOSUPPORT;
}
@ -1650,8 +1650,7 @@ send_pdev_param_cmd_tlv(wmi_unified_t wmi_handle,
pdev_param = convert_host_pdev_param_tlv(param->param_id);
if (pdev_param == WMI_UNAVAILABLE_PARAM) {
WMI_LOGW("%s: Unavailable param %d",
__func__, param->param_id);
wmi_err("Unavailable param %d", param->param_id);
return QDF_STATUS_E_INVAL;
}
@ -2087,8 +2086,7 @@ static QDF_STATUS send_vdev_set_param_cmd_tlv(wmi_unified_t wmi_handle,
vdev_param = convert_host_vdev_param_tlv(param->param_id);
if (vdev_param == WMI_UNAVAILABLE_PARAM) {
WMI_LOGW("%s:Vdev param %d not available", __func__,
param->param_id);
wmi_err("Vdev param %d not available", param->param_id);
return QDF_STATUS_E_INVAL;
}