Browse Source

Fix compiler warning with wpa_supplicant AP builds without 802.11r

Signed-hostap: Jouni Malinen <j@w1.fi>
Jouni Malinen 12 years ago
parent
commit
5c61a2820f
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/ap/drv_callbacks.c

+ 2 - 2
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)
 {