From: Jouni Malinen Date: Wed, 1 Aug 2012 10:14:09 +0000 (+0300) Subject: Fix compiler warning with wpa_supplicant AP builds without 802.11r X-Git-Tag: hostap_2_0~521 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5c61a2820fca809578153382ba5009f451ef4419;p=thirdparty%2Fhostap.git Fix compiler warning with wpa_supplicant AP builds without 802.11r Signed-hostap: Jouni Malinen --- 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) {