Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Prevent double attempt to connect mesh api
Socket network interface tests were failing due to DICONNECTED event being advertised, where GLOBAL_UP was expected. It turned out that nanostack receives two events: APPL_EVENT_CONNECT and APPL_BACKHAUL_INTERFACE_PHY_UP. The second attempt to connect obviously returns errors, but it also causes events to be sent out to the application. The second attempt should not take place in case the bootstrap is already started. I also fixed two reports being sent with DISCONNECT status, while they are actually something else.
- Loading branch information