Skip to content

Commit 52257b7

Browse files
committed
doc: net: wifi: Fix the connect command
The command should work with existing certs rather than a generic example, also fix the key-management. Signed-off-by: Chaitanya Tata <[email protected]>
1 parent 220faf3 commit 52257b7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/connectivity/networking/api/wifi.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ To initiate Wi-Fi connection, the following command can be used:
7171

7272
.. code-block:: console
7373
74-
uart:~$ wifi connect -s <SSID> -c 149 -k 17 -w 2 -a client1 --key1-pwd whatever --key2-pwd whatever --eap-id1 id1 --eap-pwd1 pwd1
74+
uart:~$ wifi connect -s <SSID> -c 149 -k 7 -w 2 -a client1 --key1-pwd whatever --key2-pwd whatever
7575
7676
Server certificate is also provided in the same directory for testing purposes.
7777
Any AAA server can be used for testing purposes, for example, ``FreeRADIUS`` or ``hostapd``.

0 commit comments

Comments
 (0)