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:
parent
0ce5da6da8
commit
cd736558ef
@ -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;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user