Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
modules: hostap: Create z_wpa_s_tid thread dynamically
Statically created threads with K_THREAD_DEFINE() are launched after the SYS_INIT phase. This does not play well wth NET_CONFIG library, which may block during SYS_INIT until network interface is UP and RUNNING. In order to be able to connect to Wi-Fi network and thus mark the network interface as running, we need to be able to run supplicant during SYS_INIT. This can be achieved, by starting the thread dynamically during SYS_INIT phase, instead of relying on static thread creation. Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
- Loading branch information