[2/5] mka: Don't set newSAK to FALSE on ABANDON
diff mbox series

Message ID 4ab872861dcdfd4b67074661fff0ebe64710ff9e.1566876816.git.Thomas.Winter@alliedtelesis.co.nz
State Accepted
Headers show
Series
  • mka: Correct the interpretation of CP and PN exhaustion
Related show

Commit Message

Thomas Winter Aug. 27, 2019, 3:55 a.m. UTC
Previously the ABANDON->RECEIVE state change was impossible
and did not match the CP state machine in IEEE 802.1X-2010
Figure 12-2.

Signed-off-by: Thomas Winter <Thomas.Winter@alliedtelesis.co.nz>
---
 src/pae/ieee802_1x_cp.c | 1 -
 1 file changed, 1 deletion(-)

Patch
diff mbox series

diff --git a/src/pae/ieee802_1x_cp.c b/src/pae/ieee802_1x_cp.c
index ab6abda24..a19f07518 100644
--- a/src/pae/ieee802_1x_cp.c
+++ b/src/pae/ieee802_1x_cp.c
@@ -301,7 +301,6 @@  SM_STATE(CP, ABANDON)
 	sm->lki = NULL;
 	ieee802_1x_kay_set_latest_sa_attr(sm->kay, sm->lki, sm->lan,
 					  sm->ltx, sm->lrx);
-	sm->new_sak = FALSE;
 }