Skip to content

Commit

Permalink
[nrf fromlist] wifi: shell: Fix arg count for regulatory domain
Browse files Browse the repository at this point in the history
Regulatory domain supports both get and set, so, fix the argument
counts.

Upstream PR: zephyrproject-rtos/zephyr#66616

Signed-off-by: Chaitanya Tata <[email protected]>
(cherry picked from commit 4262130)
Signed-off-by: Dominik Ermel <[email protected]>
  • Loading branch information
krish2718 authored and de-nordic committed Jan 9, 2024
1 parent 620bad8 commit 9fb63a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion subsys/net/l2/wifi/wifi_shell.c
Original file line number Diff line number Diff line change
Expand Up @@ -1688,7 +1688,7 @@ SHELL_STATIC_SUBCMD_SET_CREATE(wifi_commands,
"[-f]: Force to use this regulatory hint over any other regulatory hints\n"
"Note: This may cause regulatory compliance issues, use it at your own risk.",
cmd_wifi_reg_domain,
2, 1),
1, 1),
SHELL_CMD_ARG(mode, NULL, "mode operational setting\n"
"This command may be used to set the Wi-Fi device into a specific mode of operation\n"
"parameters:"
Expand Down

0 comments on commit 9fb63a8

Please sign in to comment.