Skip to content

Commit

Permalink
Merge pull request #15367 from YannCharbon/wisun_fix
Browse files Browse the repository at this point in the history
Fix mesh connect semaphore not releasing causing blockage
  • Loading branch information
0xc0170 authored Jan 5, 2023
2 parents b1d5fba + d327f3f commit 751fe9d
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}
}

Expand Down

0 comments on commit 751fe9d

Please sign in to comment.