aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJouni Malinen <jouni@qca.qualcomm.com>2017-08-24 14:31:56 (GMT)
committerJouni Malinen <j@w1.fi>2017-08-24 14:33:03 (GMT)
commit7475e80f149fcd799e273a9e8ff9ea00de42d792 (patch)
tree873f8a1fcf876dbf5eb8f8c07f057ab04c491d97 /src
parentb62c948a26b6bfa1bd4c97060365a9cd6f69f4ed (diff)
downloadhostap-7475e80f149fcd799e273a9e8ff9ea00de42d792.zip
hostap-7475e80f149fcd799e273a9e8ff9ea00de42d792.tar.gz
hostap-7475e80f149fcd799e273a9e8ff9ea00de42d792.tar.bz2
FILS: Fix wpa_supplicant AP build without CONFIG_IEEE80211W
CONFIG_FILS was missed as one of items requiring the p pointer in hostapd_notif_assoc(). Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
Diffstat (limited to 'src')
-rw-r--r--src/ap/drv_callbacks.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ap/drv_callbacks.c b/src/ap/drv_callbacks.c
index ffa8bf1..cce625b 100644
--- a/src/ap/drv_callbacks.c
+++ b/src/ap/drv_callbacks.c
@@ -109,10 +109,10 @@ int hostapd_notif_assoc(struct hostapd_data *hapd, const u8 *addr,
struct ieee802_11_elems elems;
const u8 *ie;
size_t ielen;
-#if defined(CONFIG_IEEE80211R_AP) || defined(CONFIG_IEEE80211W)
+#if defined(CONFIG_IEEE80211R_AP) || defined(CONFIG_IEEE80211W) || defined(CONFIG_FILS)
u8 buf[sizeof(struct ieee80211_mgmt) + 1024];
u8 *p = buf;
-#endif /* CONFIG_IEEE80211R_AP || CONFIG_IEEE80211W */
+#endif /* CONFIG_IEEE80211R_AP || CONFIG_IEEE80211W || CONFIG_FILS */
u16 reason = WLAN_REASON_UNSPECIFIED;
u16 status = WLAN_STATUS_SUCCESS;
const u8 *p2p_dev_addr = NULL;