net: wifi_shell: Display correct power save status
Display power save status correctly. Signed-off-by: Ajay Parida <ajay.parida@nordicsemi.no>
This commit is contained in:
parent
422250d3b1
commit
057e2fc59c
1 changed files with 1 additions and 1 deletions
|
@ -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]);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue