summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMahesh Kumar Kalikot Veetil <mkalikot@qca.qualcomm.com>2015-07-29 10:26:08 -0700
committerGerrit - the friendly Code Review server <code-review@localhost>2015-08-04 09:06:35 -0700
commitb33d7377d8528962b35d4eb97ba01efa2bb12f13 (patch)
treef1b1fd47fd662b0fe6dfcbb237121573ddd9a8e0
parent885b73e08b7223d1d720c1d121b279b50b134084 (diff)
qcacld: Lower the tracing level of a log
In some of the use cases lots of IPv6 Multicast (Neighbor Solicitation) frames are bounced back from AP resulting too many error logs. Lower the tracing level to INFO for this particular log. Change-Id: I13aac38353ba154a194fa1803dc7c17b50fd906e CRs-Fixed: 881542
-rw-r--r--CORE/HDD/src/wlan_hdd_tx_rx.c11
1 files changed, 5 insertions, 6 deletions
diff --git a/CORE/HDD/src/wlan_hdd_tx_rx.c b/CORE/HDD/src/wlan_hdd_tx_rx.c
index 36158907b4dc..f6c4f631f1c7 100644
--- a/CORE/HDD/src/wlan_hdd_tx_rx.c
+++ b/CORE/HDD/src/wlan_hdd_tx_rx.c
@@ -1826,8 +1826,6 @@ bool drop_ip6_mcast(struct sk_buff *skb)
#define drop_ip6_mcast(_a) 0
#endif
-
-
/**============================================================================
@brief hdd_rx_packet_cbk() - Receive callback registered with TL.
TL will call this to notify the HDD when one or more packets were
@@ -1919,11 +1917,12 @@ VOS_STATUS hdd_rx_packet_cbk(v_VOID_t *vosContext,
/* Check & drop mcast packets (for IPV6) as required */
if (drop_ip6_mcast(skb)) {
- print_hex_dump_bytes("MAC Header",
- DUMP_PREFIX_NONE, skb_mac_header(skb), 16);
+ hddLog(VOS_TRACE_LEVEL_INFO, "MAC Header:");
+ VOS_TRACE_HEX_DUMP(VOS_MODULE_ID_HDD_DATA, VOS_TRACE_LEVEL_INFO,
+ skb_mac_header(skb), 16);
++pAdapter->hdd_stats.hddTxRxStats.rxDropped[cpu_index];
- VOS_TRACE(VOS_MODULE_ID_HDD_DATA, VOS_TRACE_LEVEL_ERROR,
- "%s: Dropping multicast to self NA", __func__);
+ VOS_TRACE(VOS_MODULE_ID_HDD_DATA, VOS_TRACE_LEVEL_INFO,
+ "%s: Dropping multicast to self NA", __func__);
kfree_skb(skb);
skb = skb_next;