Skip to content

Commit 4262130

Browse files
krish2718rlubos
authored andcommitted
[nrf fromlist] wifi: shell: Fix arg count for regulatory domain
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]>
1 parent b65e77c commit 4262130

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
@@ -1684,7 +1684,7 @@ SHELL_STATIC_SUBCMD_SET_CREATE(wifi_commands,
16841684
"[-f]: Force to use this regulatory hint over any other regulatory hints\n"
16851685
"Note: This may cause regulatory compliance issues, use it at your own risk.",
16861686
cmd_wifi_reg_domain,
1687-
2, 1),
1687+
1, 1),
16881688
SHELL_CMD_ARG(mode, NULL, "mode operational setting\n"
16891689
"This command may be used to set the Wi-Fi device into a specific mode of operation\n"
16901690
"parameters:"

0 commit comments

Comments
 (0)