enable_async

Function enable_async 

pub unsafe extern "C" fn enable_async() -> c_int
Available on non-ag35 only.
Expand description

Create thread to enables the WLAN.

This function enables the WLAN based on the hostapd or wpa_supplicant configuration provided. This function inserts the WLAN kernel module and advertises the SSID.

Returns 0 on success, -1 on error.