Fix AP mode key_mgmt configuration in wpa_supplicant default case
authorJouni Malinen <j@w1.fi>
Sat, 14 May 2016 16:40:40 +0000 (19:40 +0300)
committerJouni Malinen <j@w1.fi>
Sat, 14 May 2016 16:43:30 +0000 (19:43 +0300)
commit6641954321369dfb1f68e7eddb91edf1dacaae4b
tree2e9d806c3623eac2046421504ebcbd68da5dea19
parentad6cee3fa04103e4b7155efc0da593d155e05c34
Fix AP mode key_mgmt configuration in wpa_supplicant default case

If the network profile key_mgmt parameter was not set, wpa_supplicant
defaulted to enabling both WPA-PSK and WPA-EAP. This is not correct for
AP mode operations, so remove WPA-EAP in such a case to fix WPA-PSK
without explicit key_mgmt parameter.

Signed-off-by: Jouni Malinen <j@w1.fi>
wpa_supplicant/ap.c