Merge branch 'feature/support_border_router' into 'master'

OpenThread: fix issues found in certification

See merge request espressif/esp-idf!23913
This commit is contained in:
Shu Chen
2023-06-09 10:20:46 +08:00
5 changed files with 16 additions and 2 deletions

View File

@@ -305,6 +305,9 @@ otError otPlatUdpConnect(otUdpSocket *udp_socket)
};
task.addr = map_openthread_addr_to_lwip_addr(&udp_socket->mPeerName.mAddress);
if (ip_addr_isany_val(task.addr) && task.port == 0) {
return OT_ERROR_NONE;
}
tcpip_callback(udp_connect_task, &task);
wait_for_task_notification();