Commit ef87e71 1 parent a447634 commit ef87e71 Copy full SHA for ef87e71
File tree 2 files changed +14
-4
lines changed
2 files changed +14
-4
lines changed Original file line number Diff line number Diff line change @@ -559,13 +559,18 @@ void wfx_rsi_task(void * arg)
559
559
hasNotifiedIPV4 = false;
560
560
}
561
561
#endif /* CHIP_DEVICE_CONFIG_ENABLE_IPV4 */
562
- /* Checks if the assigned IPv6 address is preferred by evaluating
563
- * the first block of IPv6 address ( block 0)
562
+ /*
563
+ * Checks if the IPv6 event has been notified, if not invoke the nd6_tmr,
564
+ * which starts the duplicate address detectation.
564
565
*/
565
566
if (!hasNotifiedIPV6 )
566
567
{
567
568
nd6_tmr ();
568
569
}
570
+ /*
571
+ * Checks if the assigned IPv6 address is preferred by evaluating
572
+ * the first block of IPv6 address ( block 0)
573
+ */
569
574
if ((ip6_addr_ispreferred (netif_ip6_addr_state (sta_netif , 0 ))) && !hasNotifiedIPV6 )
570
575
{
571
576
wfx_ipv6_notify (GET_IPV6_SUCCESS );
Original file line number Diff line number Diff line change @@ -625,13 +625,18 @@ void wfx_rsi_task(void * arg)
625
625
hasNotifiedIPV4 = false;
626
626
}
627
627
#endif /* CHIP_DEVICE_CONFIG_ENABLE_IPV4 */
628
- /* Checks if the assigned IPv6 address is preferred by evaluating
629
- * the first block of IPv6 address ( block 0)
628
+ /*
629
+ * Checks if the IPv6 event has been notified, if not invoke the nd6_tmr,
630
+ * which starts the duplicate address detectation.
630
631
*/
631
632
if (!hasNotifiedIPV6 )
632
633
{
633
634
nd6_tmr ();
634
635
}
636
+ /*
637
+ * Checks if the assigned IPv6 address is preferred by evaluating
638
+ * the first block of IPv6 address ( block 0)
639
+ */
635
640
if ((ip6_addr_ispreferred (netif_ip6_addr_state (sta_netif , 0 ))) && !hasNotifiedIPV6 )
636
641
{
637
642
wfx_ipv6_notify (GET_IPV6_SUCCESS );
You can’t perform that action at this time.
0 commit comments