Skip to content

Commit

Permalink
[Silabs] Adds fix for scan failure during commissioning flow (#25982)
Browse files Browse the repository at this point in the history
* Adds changes to default security value when scan fails

* Port changes to SiWx917

* Adds fix for SiWx917
  • Loading branch information
rosahay-silabs authored and pull[bot] committed Nov 14, 2023
1 parent 3edb03d commit 1100528
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
7 changes: 7 additions & 0 deletions examples/platform/silabs/SiWx917/SiWx917/rsi_if.c
Original file line number Diff line number Diff line change
Expand Up @@ -369,6 +369,13 @@ static void wfx_rsi_save_ap_info()
/*
* Scan is done - failed
*/
#if WIFI_ENABLE_SECURITY_WPA3
wfx_rsi.sec.security = WFX_SEC_WPA3;
#else /* !WIFI_ENABLE_SECURITY_WPA3 */
wfx_rsi.sec.security = WFX_SEC_WPA2;
#endif /* WIFI_ENABLE_SECURITY_WPA3 */
WFX_RSI_LOG("%s: warn: failed with status: %02x", status);
return;
}
else
{
Expand Down
7 changes: 7 additions & 0 deletions examples/platform/silabs/efr32/rs911x/rsi_if.c
Original file line number Diff line number Diff line change
Expand Up @@ -418,6 +418,13 @@ static void wfx_rsi_save_ap_info() // translation
/*
* Scan is done - failed
*/
#if WIFI_ENABLE_SECURITY_WPA3
wfx_rsi.sec.security = WFX_SEC_WPA3;
#else /* !WIFI_ENABLE_SECURITY_WPA3 */
wfx_rsi.sec.security = WFX_SEC_WPA2;
#endif /* WIFI_ENABLE_SECURITY_WPA3 */
WFX_RSI_LOG("%s: warn: failed with status: %02x", status);
return;
}
else
{
Expand Down

0 comments on commit 1100528

Please sign in to comment.