All time.Sleeps() (except those that are valid to, for example, delay loop iterations) are removed [1].
Instead, functions block until the external expected condition has been achieved (or a max number of iterations has been reached). Increased reliability and responsiveness.
[1] The 40 sec sleep in the first loop of the daemon remains.TBD investigate only sleeping here if wlan0 is managed by network manager to allow time for connections to establish. If not, we should continue directly with entering Management Mode.
All time.Sleeps() (except those that are valid to, for example, delay loop iterations) are removed [1]. Instead, functions block until the external expected condition has been achieved (or a max number of iterations has been reached). Increased reliability and responsiveness.
[1] The 40 sec sleep in the first loop of the daemon remains.TBD investigate only sleeping here if wlan0 is managed by network manager to allow time for connections to establish. If not, we should continue directly with entering Management Mode.