Merge pull request #15367 from YannCharbon/wisun_fix

Fix mesh connect semaphore not releasing causing blockage
pull/15369/head
Martin Kojtal 2023-01-05 16:40:36 +00:00 committed by GitHub
commit 751fe9da8c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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();
}
}