diff --git a/wpa_supplicant/ap.c b/wpa_supplicant/ap.c index 23c7025e3..82b7e193c 100644 --- a/wpa_supplicant/ap.c +++ b/wpa_supplicant/ap.c @@ -849,6 +849,8 @@ void wpa_supplicant_ap_pwd_auth_fail(struct wpa_supplicant *wpa_s) } +#ifdef CONFIG_WPS_NFC + struct wpabuf * wpas_ap_wps_nfc_config_token(struct wpa_supplicant *wpa_s, int ndef) { @@ -872,6 +874,8 @@ struct wpabuf * wpas_ap_wps_nfc_handover_sel(struct wpa_supplicant *wpa_s, return hostapd_wps_nfc_hs_cr(hapd, ndef); } +#endif /* CONFIG_WPS_NFC */ + #endif /* CONFIG_WPS */