Skip to main content

set_auth_wpa2_psk

Function set_auth_wpa2_psk 

pub fn set_auth_wpa2_psk(password: Option<&str>) -> Result<()>
👎Deprecated:

there is no replacement, use hostapd and wpa_supplicant directly

Expand description

Sets the WPA2-PSK password.

If password is None, no authentication will be used.