ap_restart

Function ap_restart 

pub unsafe extern "C" fn ap_restart(idx: ApIndex) -> c_int
Available on non-ag35 only.
Expand description

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

The wifi must be enabled using enable.

Returns 0 on success, -1 on error.