Fix mesh connect semaphore not releasing causing blockage

pull/15367/head
YannCharbon 2023-01-03 15:21:17 +01:00
parent 149d444825
commit d327f3f2d2
1 changed files with 1 additions and 0 deletions

View File

@ -174,6 +174,7 @@ void Nanostack::Interface::network_handler(mesh_connection_status_t status)
connect_semaphore.release();
} else if (status == MESH_DISCONNECTED) {
disconnect_semaphore.release();
connect_semaphore.release();
}
}