Fix usage of WPA/PSK encryption options in wifi configuration