The following logs show up when trying to connect:
uart:~$ wifi connect xxxxxx xxxxxxxxxx
Connection requested
<dbg> net_wifi_mgmt.wifi_connect: (0x20000500): xxxxxx 6 255 1 \
xxxxxxxxxx 10
<err> log: argument 6 in source net_wifi_mgmt log message \
"%s: (%p): %s %u %u %u %s %u" missinglog_strdup().
<err> log: argument 2 in source net_wifi_mgmt log message \
"%s: (%p): %s %u %u %u %s %u" missinglog_strdup().
Connected
uart:~$
Fix that by using LOG_HEXDUMP_DBG() to print SSID and PSK.
Signed-off-by: Marcin Niestroj <m.niestroj@grinn-global.com>
|
||
|---|---|---|
| .. | ||
| CMakeLists.txt | ||
| wifi_mgmt.c | ||
| wifi_shell.c | ||