Skip to content

Commit 445e993

Browse files
muahmed-silabscarlescufi
authored andcommitted
net: l2: wifi: Fix get RTS threshold in Wi-Fi shell
Changed the number of mandatory options of `rts threshold` to 1, so as to allow no arguments for querying. Signed-off-by: Muzaffar Ahmed <[email protected]>
1 parent e98920d commit 445e993

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
@@ -4022,7 +4022,7 @@ SHELL_SUBCMD_ADD((wifi), rts_threshold, NULL,
40224022
"<rts_threshold: rts threshold/off>.\n"
40234023
"[-i, --iface=<interface index>] : Interface index.\n",
40244024
cmd_wifi_set_rts_threshold,
4025-
2, 2);
4025+
1, 2);
40264026

40274027
SHELL_SUBCMD_ADD((wifi), scan, NULL,
40284028
"Scan for Wi-Fi APs\n"

0 commit comments

Comments
 (0)