FILS: Convert Boolean to C99 bool

Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
This commit is contained in:
Jouni Malinen 2020-04-24 01:43:32 +03:00 committed by Jouni Malinen
parent 86ea761e93
commit 3d58e8286f

View file

@ -894,7 +894,7 @@ void wpa_supplicant_set_state(struct wpa_supplicant *wpa_s,
{ {
enum wpa_states old_state = wpa_s->wpa_state; enum wpa_states old_state = wpa_s->wpa_state;
#if defined(CONFIG_FILS) && defined(IEEE8021X_EAPOL) #if defined(CONFIG_FILS) && defined(IEEE8021X_EAPOL)
Boolean update_fils_connect_params = FALSE; bool update_fils_connect_params = false;
#endif /* CONFIG_FILS && IEEE8021X_EAPOL */ #endif /* CONFIG_FILS && IEEE8021X_EAPOL */
wpa_dbg(wpa_s, MSG_DEBUG, "State: %s -> %s", wpa_dbg(wpa_s, MSG_DEBUG, "State: %s -> %s",
@ -993,7 +993,7 @@ void wpa_supplicant_set_state(struct wpa_supplicant *wpa_s,
#if defined(CONFIG_FILS) && defined(IEEE8021X_EAPOL) #if defined(CONFIG_FILS) && defined(IEEE8021X_EAPOL)
if (!fils_hlp_sent && ssid && ssid->eap.erp) if (!fils_hlp_sent && ssid && ssid->eap.erp)
update_fils_connect_params = TRUE; update_fils_connect_params = true;
#endif /* CONFIG_FILS && IEEE8021X_EAPOL */ #endif /* CONFIG_FILS && IEEE8021X_EAPOL */
#ifdef CONFIG_OWE #ifdef CONFIG_OWE
if (ssid && (ssid->key_mgmt & WPA_KEY_MGMT_OWE)) if (ssid && (ssid->key_mgmt & WPA_KEY_MGMT_OWE))