ap_start

Function ap_start 

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