Skip to main content

enable

Function enable 

pub unsafe extern "C" fn enable() -> c_int
👎Deprecated:

ql-oe-sys is deprecated, use the pure Rust crates of ql-oe such as ql-dms, ql-nas and ql-wds

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.