diff options
Diffstat (limited to 'contrib/hostapd/eap.c')
-rw-r--r-- | contrib/hostapd/eap.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/contrib/hostapd/eap.c b/contrib/hostapd/eap.c index 7a21c80..1897856 100644 --- a/contrib/hostapd/eap.c +++ b/contrib/hostapd/eap.c @@ -10,6 +10,8 @@ * license. * * See README and COPYING for more details. + * + * $FreeBSD$ */ #include <stdlib.h> @@ -909,3 +911,11 @@ void eap_sm_deinit(struct eap_sm *sm) eap_user_free(sm->user); free(sm); } + +void eap_sm_notify_cached(struct eap_sm *sm) +{ + if (sm == NULL) + return; + + sm->EAP_state = EAP_SUCCESS; +} |