Skip to main content

ap_start

Function ap_start 

pub unsafe extern "C" fn ap_start(idx: ApIndex) -> 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

Start the hostapd configuration after the appropriate hostapd.conf is modified.

The wifi must be enabled using enable.

Returns 0 on success, -1 on error.