Parcourir la source

Merge branch 'feature/uprev-openthread-210603' into 'master'

openthread: update openthread version

See merge request espressif/esp-idf!13839
Shu Chen il y a 4 ans
Parent
commit
480fcfd7a6

+ 1 - 1
components/openthread/openthread

@@ -1 +1 @@
-Subproject commit 23bbde5c96cba146351349c692c8ad3337bf7fac
+Subproject commit d16edaa5ef73e9139ac9c9d3b71981bf21a5de17

+ 1 - 1
components/openthread/port/esp_openthread_netif_glue.c

@@ -79,7 +79,7 @@ void process_thread_address(const otIp6AddressInfo *address_info, bool is_added,
         } else {
             ip_event_add_ip6_t add_addr;
             add_addr.addr = addr;
-            add_addr.preferred = !address_info->mIsAnycast;
+            add_addr.preferred = address_info->mPreferred;
             if (esp_event_post(OPENTHREAD_EVENT, OPENTHREAD_EVENT_GOT_IP6, &add_addr, sizeof(add_addr), 0) != ESP_OK) {
                 otLogCritPlat("Failed to post OpenThread got ip6 address event");
             }