Skip to content

Commit

Permalink
[Silabs] Adds WiFi flag fix (#25631)
Browse files Browse the repository at this point in the history
* 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.
  • Loading branch information
rosahay-silabs authored and pull[bot] committed Oct 12, 2023
1 parent 7fd0985 commit b79287f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions examples/platform/silabs/SiWx917/SiWx917/rsi_if.c
Original file line number Diff line number Diff line change
Expand Up @@ -750,6 +750,7 @@ void wfx_dhcp_got_ipv4(uint32_t ip)
wfx_rsi.ip4_addr[3] = (ip >> 24) & HEX_VALUE_FF;
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],
wfx_rsi.ip4_addr[3]);
wfx_rsi.dev_state |= WFX_RSI_ST_STA_DHCP_DONE;
/* Notify the Connectivity Manager - via the app */
wfx_ip_changed_notify(IP_STATUS_SUCCESS);
wfx_rsi.dev_state |= WFX_RSI_ST_STA_READY;
Expand Down
1 change: 1 addition & 0 deletions examples/platform/silabs/efr32/rs911x/rsi_if.c
Original file line number Diff line number Diff line change
Expand Up @@ -823,6 +823,7 @@ void wfx_dhcp_got_ipv4(uint32_t ip)
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],
wfx_rsi.ip4_addr[3]);
/* Notify the Connectivity Manager - via the app */
wfx_rsi.dev_state |= WFX_RSI_ST_STA_DHCP_DONE;
wfx_ip_changed_notify(IP_STATUS_SUCCESS);
wfx_rsi.dev_state |= WFX_RSI_ST_STA_READY;
}
Expand Down

0 comments on commit b79287f

Please sign in to comment.