SM_STATE(AUTH_PAE, FORCE_AUTH)
{
	SM_ENTRY_MA(AUTH_PAE, FORCE_AUTH, auth_pae);

	sm->authPortStatus = Authorized;
	setPortAuthorized();
	sm->portMode = ForceAuthorized;
	sm->eapolStart = FALSE;
	txCannedSuccess();
}
示例#2
0
SM_STATE(AUTH_PAE, FORCE_AUTH)
{
	SM_ENTRY(AUTH_PAE, FORCE_AUTH, auth_pae);

	sm->portStatus = Authorized;
	setPortAuthorized();
	sm->auth_pae.portMode = ForceAuthorized;
	sm->auth_pae.eapStart = FALSE;
	txCannedSuccess(sm->currentId);
	sm->currentId++;
}
void auth_force_auth(auth_t* auth_1x)
{
#ifdef DEBUG_STATS
    g_debug_stats.auth_stats.fa++;
#endif /* DEBUG_STATS */

    auth_1x->global.authPortStatus = AUTHORIZED;
    auth_1x->auth_pae.portMode     = FORCE_AUTHORIZED;
    auth_1x->auth_pae.eapolStart   = BFALSE;

    txCannedSuccess(auth_1x);

    /* Set authentication state */
    auth_1x->auth_pae.state = AS_FORCE_AUTH;
}