Skip to content

Commit

Permalink
Modified logs in which AP's password is printed.
Browse files Browse the repository at this point in the history
  • Loading branch information
arun-silabs committed Feb 16, 2024
1 parent 5589ecb commit a706c58
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion examples/platform/silabs/SiWx917/SiWx917/sl_wifi_if.c
Original file line number Diff line number Diff line change
Expand Up @@ -569,7 +569,7 @@ static sl_status_t wfx_rsi_do_join(void)
}
else
{
SILABS_LOG("%s: WLAN: connecting to %s==%s, sec=%d", __func__, &wfx_rsi.sec.ssid[0], &wfx_rsi.sec.passkey[0],
SILABS_LOG("%s: WLAN: connecting to %s, sec=%d", __func__, &wfx_rsi.sec.ssid[0],
wfx_rsi.sec.security);

/*
Expand Down
2 changes: 1 addition & 1 deletion examples/platform/silabs/SiWx917/SiWx917/wfx_rsi_host.c
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ sl_status_t wfx_connect_to_ap(void)
{
if (wfx_rsi.dev_state & WFX_RSI_ST_STA_PROVISIONED)
{
SILABS_LOG("%s: connecting to access point -> SSID: %s, PSK:%s", __func__, &wfx_rsi.sec.ssid[0], &wfx_rsi.sec.passkey[0]);
SILABS_LOG("%s: connecting to access point -> SSID: %s", __func__, &wfx_rsi.sec.ssid[0]);
xEventGroupSetBits(wfx_rsi.events, WFX_EVT_STA_START_JOIN);
}
else
Expand Down
4 changes: 2 additions & 2 deletions examples/platform/silabs/efr32/rs911x/rsi_if.c
Original file line number Diff line number Diff line change
Expand Up @@ -466,7 +466,7 @@ static void wfx_rsi_save_ap_info() // translation
break;
}

SILABS_LOG("%s: WLAN: connecting to %s==%s, sec=%d, status=%02x", __func__, &wfx_rsi.sec.ssid[0], &wfx_rsi.sec.passkey[0],
SILABS_LOG("%s: WLAN: connecting to %s, sec=%d, status=%02x", __func__, &wfx_rsi.sec.ssid[0],
wfx_rsi.sec.security, status);
}

Expand Down Expand Up @@ -511,7 +511,7 @@ static void wfx_rsi_do_join(void)
return;
}

SILABS_LOG("%s: WLAN: connecting to %s==%s, sec=%d", __func__, &wfx_rsi.sec.ssid[0], &wfx_rsi.sec.passkey[0],
SILABS_LOG("%s: WLAN: connecting to %s, sec=%d", __func__, &wfx_rsi.sec.ssid[0],
wfx_rsi.sec.security);

/*
Expand Down
2 changes: 1 addition & 1 deletion examples/platform/silabs/efr32/rs911x/wfx_rsi_host.c
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ sl_status_t wfx_connect_to_ap(void)
{
if (wfx_rsi.dev_state & WFX_RSI_ST_STA_PROVISIONED)
{
SILABS_LOG("%s: connecting to access point -> SSID: %s, PSK:%s", __func__, &wfx_rsi.sec.ssid[0], &wfx_rsi.sec.passkey[0]);
SILABS_LOG("%s: connecting to access point -> SSID: %s", __func__, &wfx_rsi.sec.ssid[0]);
xEventGroupSetBits(wfx_rsi.events, WFX_EVT_STA_START_JOIN);
}
else
Expand Down

0 comments on commit a706c58

Please sign in to comment.