Fix a compiler warning on WPS-AP-without-UPnP builds

This commit is contained in:
Jouni Malinen 2011-05-31 20:11:25 +03:00 committed by Jouni Malinen
parent 38e24575c1
commit 6b98a33c86

View File

@ -890,7 +890,7 @@ int hostapd_init_wps_complete(struct hostapd_data *hapd)
{ {
struct wps_context *wps = hapd->wps; struct wps_context *wps = hapd->wps;
if (hapd->wps == NULL) if (wps == NULL)
return 0; return 0;
#ifdef CONFIG_WPS_UPNP #ifdef CONFIG_WPS_UPNP