From bf4d8cc2cc7113ca3ca36bcb91be3b32f9f124cf Mon Sep 17 00:00:00 2001 From: Chaitanya Tata Date: Tue, 6 Aug 2024 22:01:07 +0530 Subject: [PATCH] drivers: wifi: nrf: Fix build error in utils When Wi-Fi utils is enabled it causes build error due to missing rename in a couple of places. Signed-off-by: Chaitanya Tata --- drivers/wifi/nrfwifi/src/wifi_util.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/wifi/nrfwifi/src/wifi_util.c b/drivers/wifi/nrfwifi/src/wifi_util.c index 4b267cb89cd..7dc4e78473a 100644 --- a/drivers/wifi/nrfwifi/src/wifi_util.c +++ b/drivers/wifi/nrfwifi/src/wifi_util.c @@ -298,7 +298,7 @@ static int nrf_wifi_util_tx_stats(const struct shell *sh, tx_pending_pkts = nrf_wifi_utils_q_len(fmac_dev_ctx->fpriv->opriv, queue); shell_fprintf( - shell, + sh, SHELL_INFO, "Outstanding tokens: ac: %d -> %d (pending_q_len: %d)\n", i, @@ -346,7 +346,7 @@ static int nrf_wifi_util_tx_rate(const struct shell *sh, data_rate = strtol(argv[2], &ptr, 10); - if (!(check_valid_data_rate(shell, + if (!(check_valid_data_rate(sh, rate_flag, data_rate))) { shell_fprintf(sh,