Fix wpa_supplicant AP mode with WPS not to crash
authorJouni Malinen <jouni.malinen@atheros.com>
Wed, 6 Oct 2010 13:46:43 +0000 (16:46 +0300)
committerJouni Malinen <j@w1.fi>
Wed, 6 Oct 2010 13:46:43 +0000 (16:46 +0300)
commit0314e26a61bcc18702479119d7568dcda2666167
tree4b5387d4027c0209f6ecc884f734ce428e90db3a
parentd9c8a7c44cb19944e2559714f9804202c0ec20f7
Fix wpa_supplicant AP mode with WPS not to crash

Commit 3379a3a795803335b3f464f34a15f06843369fb1 added a direct
iface->for_each_interface use without verification whether the
function is available. This works with hostapd, but not
wpa_supplicant (which crashes on segfault).
src/ap/wps_hostapd.c