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]>
  • Loading branch information
krish2718 authored and rlubos committed Dec 19, 2023
1 parent b65e77c commit 4262130
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 @@ -1684,7 +1684,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 4262130

Please sign in to comment.