Skip to content

Commit

Permalink
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.

Signed-off-by: Chaitanya Tata <[email protected]>
  • Loading branch information
krish2718 authored and carlescufi committed Dec 18, 2023
1 parent 67099d2 commit 6152e64
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 6152e64

Please sign in to comment.