mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-07 20:33:58 -04:00
qcacld-3.0: Remove excessive logging during NUD Tracking
Remove excessive logging during NUD Tracking in soft_irq context. Change-Id: I2dd56ee6356bdcabf3e54facf378699d0d842cee CRs-Fixed: 2326807
This commit is contained in:
parent
f7d7c9e4e4
commit
b027702ffe
1 changed files with 4 additions and 10 deletions
|
|
@ -192,8 +192,6 @@ static void hdd_nud_set_tracking(struct hdd_adapter *adapter,
|
|||
uint8_t nud_state,
|
||||
bool capture_enabled)
|
||||
{
|
||||
hdd_debug("set the NUD tracking");
|
||||
|
||||
adapter->nud_tracking.curr_state = nud_state;
|
||||
qdf_atomic_set(&adapter->nud_tracking.tx_rx_stats.gw_rx_packets, 0);
|
||||
adapter->nud_tracking.is_gw_rx_pkt_track_enabled = capture_enabled;
|
||||
|
|
@ -350,12 +348,9 @@ static void hdd_nud_filter_netevent(struct neighbour *neigh)
|
|||
if (status)
|
||||
return;
|
||||
|
||||
if (adapter->device_mode != QDF_STA_MODE) {
|
||||
hdd_err("Device_mode %s(%d) is not supported for NUD handling",
|
||||
hdd_device_mode_to_string(adapter->device_mode),
|
||||
adapter->device_mode);
|
||||
if (adapter->device_mode != QDF_STA_MODE)
|
||||
return;
|
||||
}
|
||||
|
||||
conn_state = (WLAN_HDD_GET_STATION_CTX_PTR(adapter))
|
||||
->conn_info.connState;
|
||||
|
||||
|
|
@ -370,10 +365,9 @@ static void hdd_nud_filter_netevent(struct neighbour *neigh)
|
|||
}
|
||||
|
||||
if (!qdf_is_macaddr_equal(&adapter->nud_tracking.gw_mac_addr,
|
||||
(struct qdf_mac_addr *)&neigh->ha[0])) {
|
||||
hdd_debug("NUD event not for registered GW");
|
||||
(struct qdf_mac_addr *)&neigh->ha[0]))
|
||||
return;
|
||||
}
|
||||
|
||||
switch (neigh->nud_state) {
|
||||
case NUD_PROBE:
|
||||
case NUD_INCOMPLETE:
|
||||
|
|
|
|||
Loading…
Reference in a new issue