enable

Function enable 

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

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.