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