initialize wpa_supplicant correctly