From 057e2fc59c522ceffc7ef915cfac877976df6fc6 Mon Sep 17 00:00:00 2001 From: Ajay Parida Date: Thu, 19 Jan 2023 16:42:08 +0530 Subject: [PATCH] net: wifi_shell: Display correct power save status Display power save status correctly. Signed-off-by: Ajay Parida --- subsys/net/l2/wifi/wifi_shell.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/subsys/net/l2/wifi/wifi_shell.c b/subsys/net/l2/wifi/wifi_shell.c index 7ee271a6d96..b3dacc61902 100644 --- a/subsys/net/l2/wifi/wifi_shell.c +++ b/subsys/net/l2/wifi/wifi_shell.c @@ -445,7 +445,7 @@ static int cmd_wifi_ps(const struct shell *sh, size_t argc, char *argv[]) } shell_fprintf(sh, SHELL_NORMAL, "PS status: %s\n", - wifi_ps_mode2str[config.enabled]); + wifi_ps2str[config.enabled]); if (config.enabled) { shell_fprintf(sh, SHELL_NORMAL, "PS mode: %s\n", wifi_ps_mode2str[config.mode]);