Lines Matching refs:lastId
152 sm->lastId = -1; /* new session - make sure this does not match with in SM_STATE()
389 sm->lastId = sm->reqId; in SM_STATE()
519 static int eap_success_workaround(struct eap_sm *sm, int reqId, int lastId) in eap_success_workaround() argument
531 if (sm->workaround && (reqId == ((lastId + 1) & 0xff) || in eap_success_workaround()
532 reqId == ((lastId + 2) & 0xff))) { in eap_success_workaround()
536 "same)", reqId, lastId); in eap_success_workaround()
540 "lastId=%d", reqId, lastId); in eap_success_workaround()
585 duplicate = (sm->reqId == sm->lastId) && sm->rxReq; in eap_peer_req_is_duplicate()
617 (sm->reqId == sm->lastId || in eap_peer_sm_step_received()
618 eap_success_workaround(sm, sm->reqId, sm->lastId))) in eap_peer_sm_step_received()
626 (sm->reqId == sm->lastId || in eap_peer_sm_step_received()
627 eap_success_workaround(sm, sm->reqId, sm->lastId))) in eap_peer_sm_step_received()