]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
mka: Don't set newSAK to FALSE on ABANDON in CP state machine
authorThomas Winter <Thomas.Winter@alliedtelesis.co.nz>
Tue, 27 Aug 2019 03:55:35 +0000 (15:55 +1200)
committerJouni Malinen <j@w1.fi>
Wed, 18 Sep 2019 21:21:47 +0000 (00:21 +0300)
Previously the ABANDON->RECEIVE state change was impossible and did not
match the CP state machine in IEEE Std 802.1X-2010 Figure 12-2.

Signed-off-by: Thomas Winter <Thomas.Winter@alliedtelesis.co.nz>
src/pae/ieee802_1x_cp.c

index 574b53f413822a4ada022f3bebaf913532359525..27c6f0c5f8497ab154440bd6cbf2ad770136934b 100644 (file)
@@ -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;
 }