AP: Only enable WPS for open and WPA/WPA2-Personal configuration
authorJouni Malinen <jouni@qca.qualcomm.com>
Mon, 14 Nov 2011 14:16:29 +0000 (16:16 +0200)
committerJouni Malinen <j@w1.fi>
Mon, 14 Nov 2011 14:16:29 +0000 (16:16 +0200)
commit04ed4e984ea6bce08274c1dbbc520eaef2b138b7
tree831757e1707e11430f9e989d53095b07952be1d1
parent16476dd124d342e8134f9ea9fce0a7a7c32e17bd
AP: Only enable WPS for open and WPA/WPA2-Personal configuration

When wpa_supplicant AP mode is used, WPS was enabled by default
regardless of security mode. This is not desired for WEP, so change
the AP configuration to enable WPS only for open and WPA/WPA2-Personal
networks.

Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>
wpa_supplicant/ap.c