mesh: Add MPM FSM transitions from ESTAB to HOLDING for {OPN,CNF}_RJCT
authorJouni Malinen <j@w1.fi>
Tue, 28 Jun 2016 20:30:40 +0000 (23:30 +0300)
committerJouni Malinen <j@w1.fi>
Tue, 28 Jun 2016 20:30:40 +0000 (23:30 +0300)
These events were missing from the MPM FSM state transition table.

Signed-off-by: Jouni Malinen <j@w1.fi>
wpa_supplicant/mesh_mpm.c

index 9c90c64..dbbf14d 100644 (file)
@@ -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)