Skip to content

Commit 3b4f16b

Browse files
[Silabs] Adds fix for scan failure during commissioning flow (#25982)
* Adds changes to default security value when scan fails * Port changes to SiWx917 * Adds fix for SiWx917
1 parent 03cb5e3 commit 3b4f16b

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed

examples/platform/silabs/SiWx917/SiWx917/rsi_if.c

+7
Original file line numberDiff line numberDiff line change
@@ -369,6 +369,13 @@ static void wfx_rsi_save_ap_info()
369369
/*
370370
* Scan is done - failed
371371
*/
372+
#if WIFI_ENABLE_SECURITY_WPA3
373+
wfx_rsi.sec.security = WFX_SEC_WPA3;
374+
#else /* !WIFI_ENABLE_SECURITY_WPA3 */
375+
wfx_rsi.sec.security = WFX_SEC_WPA2;
376+
#endif /* WIFI_ENABLE_SECURITY_WPA3 */
377+
WFX_RSI_LOG("%s: warn: failed with status: %02x", status);
378+
return;
372379
}
373380
else
374381
{

examples/platform/silabs/efr32/rs911x/rsi_if.c

+7
Original file line numberDiff line numberDiff line change
@@ -418,6 +418,13 @@ static void wfx_rsi_save_ap_info() // translation
418418
/*
419419
* Scan is done - failed
420420
*/
421+
#if WIFI_ENABLE_SECURITY_WPA3
422+
wfx_rsi.sec.security = WFX_SEC_WPA3;
423+
#else /* !WIFI_ENABLE_SECURITY_WPA3 */
424+
wfx_rsi.sec.security = WFX_SEC_WPA2;
425+
#endif /* WIFI_ENABLE_SECURITY_WPA3 */
426+
WFX_RSI_LOG("%s: warn: failed with status: %02x", status);
427+
return;
421428
}
422429
else
423430
{

0 commit comments

Comments
 (0)