From a44763409ae8a8aee5ffdc57983b8d5149a37858 Mon Sep 17 00:00:00 2001 From: rosahay-silabs Date: Thu, 15 Jun 2023 16:46:58 +0530 Subject: [PATCH] Ports LwIP SLAAC fix for SoC --- examples/platform/silabs/SiWx917/SiWx917/rsi_if.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/examples/platform/silabs/SiWx917/SiWx917/rsi_if.c b/examples/platform/silabs/SiWx917/SiWx917/rsi_if.c index d05a0d132a5d8e..ccc59b328f6451 100644 --- a/examples/platform/silabs/SiWx917/SiWx917/rsi_if.c +++ b/examples/platform/silabs/SiWx917/SiWx917/rsi_if.c @@ -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 */ @@ -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);