From 78ac368574f385c344475640bbd8d11cbe6871df Mon Sep 17 00:00:00 2001 From: Jouni Malinen Date: Tue, 28 Jun 2016 23:30:40 +0300 Subject: [PATCH] mesh: Add MPM FSM transitions from ESTAB to HOLDING for {OPN,CNF}_RJCT These events were missing from the MPM FSM state transition table. Signed-off-by: Jouni Malinen --- wpa_supplicant/mesh_mpm.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/wpa_supplicant/mesh_mpm.c b/wpa_supplicant/mesh_mpm.c index 9c90c646e..dbbf14d63 100644 --- a/wpa_supplicant/mesh_mpm.c +++ b/wpa_supplicant/mesh_mpm.c @@ -971,6 +971,8 @@ static void mesh_mpm_fsm(struct wpa_supplicant *wpa_s, struct sta_info *sta, break; case PLINK_ESTAB: switch (event) { + case OPN_RJCT: + case CNF_RJCT: case CLS_ACPT: wpa_mesh_set_plink_state(wpa_s, sta, PLINK_HOLDING); if (!reason)