Parcourir la source

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>
Jouni Malinen il y a 9 ans
Parent
commit
58059e6c0c
1 fichiers modifiés avec 4 ajouts et 1 suppressions
  1. 4 1
      wpa_supplicant/events.c

+ 4 - 1
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;