Skip to content

Commit 057e2fc

Browse files
ajayparidacarlescufi
authored andcommitted
net: wifi_shell: Display correct power save status
Display power save status correctly. Signed-off-by: Ajay Parida <[email protected]>
1 parent 422250d commit 057e2fc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

subsys/net/l2/wifi/wifi_shell.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -445,7 +445,7 @@ static int cmd_wifi_ps(const struct shell *sh, size_t argc, char *argv[])
445445
}
446446

447447
shell_fprintf(sh, SHELL_NORMAL, "PS status: %s\n",
448-
wifi_ps_mode2str[config.enabled]);
448+
wifi_ps2str[config.enabled]);
449449
if (config.enabled) {
450450
shell_fprintf(sh, SHELL_NORMAL, "PS mode: %s\n",
451451
wifi_ps_mode2str[config.mode]);

0 commit comments

Comments
 (0)