]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
Fix compiler warning with wpa_supplicant AP builds without 802.11r
authorJouni Malinen <j@w1.fi>
Wed, 1 Aug 2012 10:14:09 +0000 (13:14 +0300)
committerJouni Malinen <j@w1.fi>
Wed, 1 Aug 2012 10:14:09 +0000 (13:14 +0300)
Signed-hostap: Jouni Malinen <j@w1.fi>

src/ap/drv_callbacks.c

index 273a1932054c8f5d92c54e4d85f0537b3b4d51e0..fca4ae511d525e24bce141a01a7a6885bff14bdb 100644 (file)
@@ -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)
 {