1
0

qcacmn: Reduce log level for stats message

Reduce log level in tgt_mc_cp_stats_process_stats_event,
tgt_mc_cp_stats_update_peer_adv_stats &
tgt_mc_cp_stats_extract_peer_stats from error to debug because
a stats event can be received unsolicited.

Change-Id: I5ad216034eefd8197f80c2a50e8ae0833b149d06
CRs-Fixed: 2471465
Este cometimento está contido em:
Tushnim Bhattacharyya
2019-06-14 10:30:07 -07:00
cometido por nshrivas
ascendente cb6d0c0741
cometimento 3f953f7193

Ver ficheiro

@@ -253,7 +253,7 @@ tgt_mc_cp_stats_update_peer_adv_stats(struct wlan_objmgr_psoc *psoc,
peer = wlan_objmgr_get_peer_by_mac(psoc, peer_mac_addr,
WLAN_CP_STATS_ID);
if (!peer) {
cp_stats_err("peer is null");
cp_stats_debug("peer is null");
return QDF_STATUS_E_EXISTS;
}
peer_cp_stats_priv = wlan_cp_stats_get_peer_stats_obj(peer);
@@ -300,7 +300,7 @@ tgt_mc_cp_stats_update_peer_stats(struct wlan_objmgr_psoc *psoc,
peer = wlan_objmgr_get_peer_by_mac(psoc, peer_mac_addr,
WLAN_CP_STATS_ID);
if (!peer) {
cp_stats_err("peer is null");
cp_stats_debug("peer is null");
return QDF_STATUS_E_EXISTS;
}
@@ -353,7 +353,7 @@ tgt_mc_cp_stats_update_peer_extd_stats(
peer = wlan_objmgr_get_peer_by_mac(psoc, peer_mac_addr,
WLAN_CP_STATS_ID);
if (!peer) {
cp_stats_err("peer is null");
cp_stats_debug("peer is null");
return QDF_STATUS_E_EXISTS;
}
@@ -511,7 +511,7 @@ extd2_stats:
/* no matched peer */
if (!QDF_IS_ADDR_BROADCAST(last_req.peer_mac_addr) &&
selected == ev->num_peer_adv_stats) {
cp_stats_err("peer not found for extd stats");
cp_stats_debug("peer not found for extd stats");
return;
}
@@ -617,7 +617,7 @@ static void tgt_mc_cp_stats_extract_vdev_summary_stats(
peer = wlan_objmgr_get_peer(psoc, last_req.pdev_id,
last_req.peer_mac_addr, WLAN_CP_STATS_ID);
if (!peer) {
cp_stats_err("peer is null %pM", last_req.peer_mac_addr);
cp_stats_debug("peer is null %pM", last_req.peer_mac_addr);
goto end;
}