mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2024-11-25 08:48:31 -05:00
Fix a compiler warning on WPS-AP-without-UPnP builds
This commit is contained in:
parent
38e24575c1
commit
6b98a33c86
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user