drivers: nrfwifi: Fix build errors when Util is enabled

This path is disabled by default.

Signed-off-by: Chaitanya Tata <Chaitanya.Tata@nordicsemi.no>
This commit is contained in:
Chaitanya Tata 2024-10-07 22:28:41 +05:30 committed by Carles Cufí
parent 0ce5da6da8
commit cd736558ef

View File

@ -287,7 +287,7 @@ static int nrf_wifi_util_tx_stats(const struct shell *sh,
k_mutex_lock(&ctx->rpu_lock, K_FOREVER);
if (!ctx->rpu_ctx) {
shell_fprintf(shell,
shell_fprintf(sh,
SHELL_ERROR,
"RPU context not initialized\n");
ret = -ENOEXEC;
@ -482,7 +482,7 @@ static int nrf_wifi_util_dump_rpu_stats(const struct shell *sh,
k_mutex_lock(&ctx->rpu_lock, K_FOREVER);
if (!ctx->rpu_ctx) {
shell_fprintf(shell,
shell_fprintf(sh,
SHELL_ERROR,
"RPU context not initialized\n");
ret = -ENOEXEC;