Skip to content

Commit 33fec7a

Browse files
committed
Fix the drop stats
Signed-off-by: Chaitanya Tata <[email protected]>
1 parent 6a389d7 commit 33fec7a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

drivers/wifi/nrf_wifi/src/net_if.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -433,6 +433,9 @@ int nrf_wifi_if_send(const struct device *dev,
433433
#ifdef CONFIG_NRF70_RAW_DATA_TX
434434
}
435435
#endif /* CONFIG_NRF70_RAW_DATA_TX */
436+
if (ret == NRF_WIFI_STATUS_FAIL) {
437+
host_stats->total_tx_drop_pkts++;
438+
}
436439
goto unlock;
437440
drop:
438441
host_stats->total_tx_drop_pkts++;

0 commit comments

Comments
 (0)