diff --git a/src/ap/drv_callbacks.c b/src/ap/drv_callbacks.c index 273a19320..fca4ae511 100644 --- a/src/ap/drv_callbacks.c +++ b/src/ap/drv_callbacks.c @@ -406,6 +406,8 @@ int hostapd_probe_req_rx(struct hostapd_data *hapd, const u8 *sa, const u8 *da, } +#ifdef HOSTAPD + #ifdef CONFIG_IEEE80211R static void hostapd_notify_auth_ft_finish(void *ctx, const u8 *dst, const u8 *bssid, @@ -428,8 +430,6 @@ static void hostapd_notify_auth_ft_finish(void *ctx, const u8 *dst, #endif /* CONFIG_IEEE80211R */ -#ifdef HOSTAPD - static void hostapd_notif_auth(struct hostapd_data *hapd, struct auth_info *rx_auth) {