diff --git a/hostapd/eapol_sm.c b/hostapd/eapol_sm.c index 32dd6049e..1a0ca3bbf 100644 --- a/hostapd/eapol_sm.c +++ b/hostapd/eapol_sm.c @@ -47,6 +47,7 @@ sm->eapol->cb.set_port_authorized(sm->hapd, sm->sta, 0) static void eapol_sm_step_run(struct eapol_state_machine *sm); static void eapol_sm_step_cb(void *eloop_ctx, void *timeout_ctx); +static void eapol_auth_initialize(struct eapol_state_machine *sm); static void eapol_auth_logger(struct eapol_authenticator *eapol, @@ -966,7 +967,7 @@ void eapol_auth_step(struct eapol_state_machine *sm) } -void eapol_auth_initialize(struct eapol_state_machine *sm) +static void eapol_auth_initialize(struct eapol_state_machine *sm) { sm->initializing = TRUE; /* Initialize the state machines by asserting initialize and then diff --git a/hostapd/eapol_sm.h b/hostapd/eapol_sm.h index 2832d6ec5..19ee50ba7 100644 --- a/hostapd/eapol_sm.h +++ b/hostapd/eapol_sm.h @@ -254,7 +254,6 @@ eapol_auth_alloc(struct eapol_authenticator *eapol, const u8 *addr, int flags, struct sta_info *sta); void eapol_auth_free(struct eapol_state_machine *sm); void eapol_auth_step(struct eapol_state_machine *sm); -void eapol_auth_initialize(struct eapol_state_machine *sm); void eapol_auth_dump_state(FILE *f, const char *prefix, struct eapol_state_machine *sm); int eapol_auth_eap_pending_cb(struct eapol_state_machine *sm, void *ctx);