aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/events.c
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2015-12-06 10:53:24 (GMT)
committerJouni Malinen <j@w1.fi>2015-12-06 10:53:24 (GMT)
commit58059e6c0ce6d23c8d90094b3b5f9caec975e70c (patch)
treec194923212f883416bdcfd60669e3863686b13c2 /wpa_supplicant/events.c
parentce96e65cb72f2be9cd8f77c30756c3843d0f34f9 (diff)
downloadhostap-58059e6c0ce6d23c8d90094b3b5f9caec975e70c.zip
hostap-58059e6c0ce6d23c8d90094b3b5f9caec975e70c.tar.gz
hostap-58059e6c0ce6d23c8d90094b3b5f9caec975e70c.tar.bz2
FST: Print debug entry on MB IE update based on EVENT_AUTH
This is more consistent with all the other callers of wpas_fst_update_mbie(). Signed-off-by: Jouni Malinen <j@w1.fi>
Diffstat (limited to 'wpa_supplicant/events.c')
-rw-r--r--wpa_supplicant/events.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/wpa_supplicant/events.c b/wpa_supplicant/events.c
index 5afe94f..3ca4c3f 100644
--- a/wpa_supplicant/events.c
+++ b/wpa_supplicant/events.c
@@ -3325,7 +3325,10 @@ void wpa_supplicant_event(void *ctx, enum wpa_event_type event,
switch (event) {
case EVENT_AUTH:
#ifdef CONFIG_FST
- wpas_fst_update_mbie(wpa_s, data->auth.ies, data->auth.ies_len);
+ if (!wpas_fst_update_mbie(wpa_s, data->auth.ies,
+ data->auth.ies_len))
+ wpa_printf(MSG_DEBUG,
+ "FST: MB IEs updated from auth IE");
#endif /* CONFIG_FST */
sme_event_auth(wpa_s, data);
break;