Skip to content

Commit

Permalink
Ports LwIP SLAAC fix for SoC
Browse files Browse the repository at this point in the history
  • Loading branch information
rosahay-silabs committed Jun 15, 2023
1 parent bcedea5 commit a447634
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions examples/platform/silabs/SiWx917/SiWx917/rsi_if.c
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@
#include "rsi_wlan_config.h"

#include "dhcp_client.h"
#include "lwip/nd6.h"
#include "wfx_rsi.h"

/* Rsi driver Task will use as its stack */
Expand Down Expand Up @@ -561,6 +562,10 @@ void wfx_rsi_task(void * arg)
/* Checks if the assigned IPv6 address is preferred by evaluating
* the first block of IPv6 address ( block 0)
*/
if (!hasNotifiedIPV6)
{
nd6_tmr();
}
if ((ip6_addr_ispreferred(netif_ip6_addr_state(sta_netif, 0))) && !hasNotifiedIPV6)
{
wfx_ipv6_notify(GET_IPV6_SUCCESS);
Expand Down

0 comments on commit a447634

Please sign in to comment.