Lines Matching refs:lastId
168 sm->lastId = -1; /* new session - make sure this does not match with in SM_STATE()
430 sm->lastId = sm->reqId; in SM_STATE()
564 static int eap_success_workaround(struct eap_sm *sm, int reqId, int lastId) in eap_success_workaround() argument
576 if (sm->workaround && (reqId == ((lastId + 1) & 0xff) || in eap_success_workaround()
577 reqId == ((lastId + 2) & 0xff))) { in eap_success_workaround()
581 "same)", reqId, lastId); in eap_success_workaround()
585 "lastId=%d", reqId, lastId); in eap_success_workaround()
630 duplicate = (sm->reqId == sm->lastId) && sm->rxReq; in eap_peer_req_is_duplicate()
662 (sm->reqId == sm->lastId || in eap_peer_sm_step_received()
663 eap_success_workaround(sm, sm->reqId, sm->lastId))) in eap_peer_sm_step_received()
671 (sm->reqId == sm->lastId || in eap_peer_sm_step_received()
672 eap_success_workaround(sm, sm->reqId, sm->lastId))) in eap_peer_sm_step_received()