Skip to content

Commit 6f9ee12

Browse files
rado17cvinayak
authored andcommitted
[nrf fromtree] net: wifi: shell: Correct help text for connect command
Since `NONE` is a valid option for key management in `connect` command, we should remove the part in help text which says: "valid only for secure SSIDs". Signed-off-by: Ravi Dondaputi <[email protected]> (cherry picked from commit 72c81ee)
1 parent 7ed70d1 commit 6f9ee12

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
@@ -1869,7 +1869,7 @@ SHELL_STATIC_SUBCMD_SET_CREATE(wifi_commands,
18691869
"[-c --channel]: Channel that needs to be scanned for connection. 0:any channel.\n"
18701870
"[-b, --band] 0: any band (2:2.4GHz, 5:5GHz, 6:6GHz]\n"
18711871
"[-p, --psk]: Passphrase (valid only for secure SSIDs)\n"
1872-
"[-k, --key-mgmt]: Key Management type (valid only for secure SSIDs)\n"
1872+
"[-k, --key-mgmt]: Key Management type\n"
18731873
"0:None, 1:WPA2-PSK, 2:WPA2-PSK-256, 3:SAE, 4:WAPI, 5:EAP, 6:WEP, 7: WPA-PSK\n"
18741874
"[-w, --ieee-80211w]: MFP (optional: needs security type to be specified)\n"
18751875
": 0:Disable, 1:Optional, 2:Required.\n"

0 commit comments

Comments
 (0)