fix(wifi):esp32c6 wifi rx statistics is always zero

This commit is contained in:
yinqingzhao
2024-05-16 19:20:59 +08:00
committed by jack
parent 6da7a46bfa
commit beebbada64
2 changed files with 2 additions and 2 deletions

View File

@ -58,7 +58,7 @@ void iperf_hook_show_wifi_stats(iperf_traffic_type_t type, iperf_status_t status
}
#endif
#if CONFIG_ESP_WIFI_ENABLE_WIFI_RX_STATS
if (type != IPERF_UDP_SERVER) {
if (type != IPERF_UDP_CLIENT) {
wifi_cmd_get_rx_statistics(0, NULL);
}
#endif