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>
This commit is contained in:
Jouni Malinen 2016-06-28 23:30:40 +03:00
parent 02022564a0
commit 78ac368574

View file

@ -971,6 +971,8 @@ static void mesh_mpm_fsm(struct wpa_supplicant *wpa_s, struct sta_info *sta,
break; break;
case PLINK_ESTAB: case PLINK_ESTAB:
switch (event) { switch (event) {
case OPN_RJCT:
case CNF_RJCT:
case CLS_ACPT: case CLS_ACPT:
wpa_mesh_set_plink_state(wpa_s, sta, PLINK_HOLDING); wpa_mesh_set_plink_state(wpa_s, sta, PLINK_HOLDING);
if (!reason) if (!reason)