Merge branch 'feature/uprev-openthread-210603' into 'master'
openthread: update openthread version See merge request espressif/esp-idf!13839
This commit is contained in:
commit
480fcfd7a6
2 changed files with 2 additions and 2 deletions
|
|
@ -1 +1 @@
|
|||
Subproject commit 23bbde5c96cba146351349c692c8ad3337bf7fac
|
||||
Subproject commit d16edaa5ef73e9139ac9c9d3b71981bf21a5de17
|
||||
|
|
@ -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");
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue