Skip to content

Commit 3861775

Browse files
rosahay-silabspull[bot]
authored andcommitted
[Silabs] Adds WiFi flag fix (#25631)
* Adds typo fix lwip_ipv6 flag * Adds fix for DHCP flag check on SAPI * Revert "Adds typo fix lwip_ipv6 flag" This reverts commit cf9b793.
1 parent c17677b commit 3861775

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

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

+1
Original file line numberDiff line numberDiff line change
@@ -750,6 +750,7 @@ void wfx_dhcp_got_ipv4(uint32_t ip)
750750
wfx_rsi.ip4_addr[3] = (ip >> 24) & HEX_VALUE_FF;
751751
WFX_RSI_LOG("%s: DHCP OK: IP=%d.%d.%d.%d", __func__, wfx_rsi.ip4_addr[0], wfx_rsi.ip4_addr[1], wfx_rsi.ip4_addr[2],
752752
wfx_rsi.ip4_addr[3]);
753+
wfx_rsi.dev_state |= WFX_RSI_ST_STA_DHCP_DONE;
753754
/* Notify the Connectivity Manager - via the app */
754755
wfx_ip_changed_notify(IP_STATUS_SUCCESS);
755756
wfx_rsi.dev_state |= WFX_RSI_ST_STA_READY;

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

+1
Original file line numberDiff line numberDiff line change
@@ -823,6 +823,7 @@ void wfx_dhcp_got_ipv4(uint32_t ip)
823823
WFX_RSI_LOG("%s: DHCP OK: IP=%d.%d.%d.%d", __func__, wfx_rsi.ip4_addr[0], wfx_rsi.ip4_addr[1], wfx_rsi.ip4_addr[2],
824824
wfx_rsi.ip4_addr[3]);
825825
/* Notify the Connectivity Manager - via the app */
826+
wfx_rsi.dev_state |= WFX_RSI_ST_STA_DHCP_DONE;
826827
wfx_ip_changed_notify(IP_STATUS_SUCCESS);
827828
wfx_rsi.dev_state |= WFX_RSI_ST_STA_READY;
828829
}

0 commit comments

Comments
 (0)