]> git.ipfire.org Git - thirdparty/hostap.git/commit
Do not save an invalid network block in wpa_supplicant.conf
authorJouni Malinen <j@w1.fi>
Thu, 24 Nov 2011 20:30:15 +0000 (22:30 +0200)
committerJouni Malinen <j@w1.fi>
Thu, 24 Nov 2011 20:47:32 +0000 (22:47 +0200)
commit8e8280bd5e6d2a7144b468a47f8c5b8bd4791400
treef619f78ac44c142cd13b001b87542198dc56c373
parenta769b094d799d714a1ff922e74ddaf7872db59bb
Do not save an invalid network block in wpa_supplicant.conf

wpa_supplicant is going to reject a configuration file that uses
WPA/WPA2-Personal (the default key_mgmt), but does not define
passphrase/PSK. Refuse to save such a configuration to avoid getting
stuck with a configuration that wpa_supplicant will reject.

Signed-hostap: Jouni Malinen <j@w1.fi>
wpa_supplicant/config_file.c