Skip to content

Commit

Permalink
Adds fix to invoke SLAAC when LwIP is not invoking it
Browse files Browse the repository at this point in the history
  • Loading branch information
rosahay-silabs committed Jun 15, 2023
1 parent 2eef730 commit bcedea5
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions examples/platform/silabs/efr32/rs911x/rsi_if.c
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@
#include "rsi_wlan_config.h"

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

Expand Down Expand Up @@ -627,6 +628,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 bcedea5

Please sign in to comment.