aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/mesh_mpm.c
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2016-06-28 20:30:40 (GMT)
committerJouni Malinen <j@w1.fi>2016-06-28 20:30:40 (GMT)
commit78ac368574f385c344475640bbd8d11cbe6871df (patch)
treeef62415520382f77c86f36be68eb1563852b0362 /wpa_supplicant/mesh_mpm.c
parent02022564a0179cd6696d28742772aa6e17a58073 (diff)
downloadhostap-78ac368574f385c344475640bbd8d11cbe6871df.zip
hostap-78ac368574f385c344475640bbd8d11cbe6871df.tar.gz
hostap-78ac368574f385c344475640bbd8d11cbe6871df.tar.bz2
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 <j@w1.fi>
Diffstat (limited to 'wpa_supplicant/mesh_mpm.c')
-rw-r--r--wpa_supplicant/mesh_mpm.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/wpa_supplicant/mesh_mpm.c b/wpa_supplicant/mesh_mpm.c
index 9c90c64..dbbf14d 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)