Fix a compiler warning on WPS-AP-without-UPnP builds
This commit is contained in:
parent
38e24575c1
commit
6b98a33c86
1 changed files with 1 additions and 1 deletions
|
@ -890,7 +890,7 @@ int hostapd_init_wps_complete(struct hostapd_data *hapd)
|
|||
{
|
||||
struct wps_context *wps = hapd->wps;
|
||||
|
||||
if (hapd->wps == NULL)
|
||||
if (wps == NULL)
|
||||
return 0;
|
||||
|
||||
#ifdef CONFIG_WPS_UPNP
|
||||
|
|
Loading…
Add table
Reference in a new issue