openthread: update openthread version

Uprev OpenThread to check in TCP message leak fix.
This commit is contained in:
Jiacheng Guo
2021-06-03 10:52:04 +08:00
parent e470e7c4c3
commit 84cc1b8e96
2 changed files with 2 additions and 2 deletions

View File

@@ -79,7 +79,7 @@ void process_thread_address(const otIp6AddressInfo *address_info, bool is_added,
} else { } else {
ip_event_add_ip6_t add_addr; ip_event_add_ip6_t add_addr;
add_addr.addr = 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) { 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"); otLogCritPlat("Failed to post OpenThread got ip6 address event");
} }