Skip to content

Commit beebbad

Browse files
QingzhaoYinjack0c
authored andcommitted
fix(wifi):esp32c6 wifi rx statistics is always zero
1 parent 6da7a46 commit beebbad

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

examples/wifi/iperf/main/iperf_example_main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ void iperf_hook_show_wifi_stats(iperf_traffic_type_t type, iperf_status_t status
5858
}
5959
#endif
6060
#if CONFIG_ESP_WIFI_ENABLE_WIFI_RX_STATS
61-
if (type != IPERF_UDP_SERVER) {
61+
if (type != IPERF_UDP_CLIENT) {
6262
wifi_cmd_get_rx_statistics(0, NULL);
6363
}
6464
#endif

0 commit comments

Comments
 (0)