WPS: Fix hostapd build without CONFIG_WPS_UPNP
authorJouni Malinen <j@w1.fi>
Sun, 5 Sep 2010 09:34:04 +0000 (12:34 +0300)
committerJouni Malinen <j@w1.fi>
Sun, 5 Sep 2010 09:34:04 +0000 (12:34 +0300)
commit0caf077bc16a1061fb78cede8d0916eb24b3bd8a
tree4a87c7153a138204527ebdd1b4f143f0c2920fd2
parentaf3e1b0ec2f450024e8db2b710b1348b70312916
WPS: Fix hostapd build without CONFIG_WPS_UPNP

Commit 5a1cc30f1a04eb19d315680928927651024e172e added code that was
assuming CONFIG_WPS_UPNP is enabled whenever CONFIG_WPS is. Fix this
by making the UPnP calls conditional on CONFIG_WPS_UPNP define.
src/ap/wps_hostapd.c