diff --git a/src/devices/mesh/dot11s/peer-link.cc b/src/devices/mesh/dot11s/peer-link.cc index 53f51c9bc..68daa9a10 100644 --- a/src/devices/mesh/dot11s/peer-link.cc +++ b/src/devices/mesh/dot11s/peer-link.cc @@ -278,21 +278,6 @@ PeerLink::StateMachine (PeerEvent event,PmpReasonCode reasoncode) switch (m_state) { case IDLE: - switch (event) - { - case PASOPN: - m_state = LISTEN; - break; - case ACTOPN: - m_state = OPN_SNT; - SendPeerLinkOpen (); - SetRetryTimer (); - break; - default: - {} - } - break; - case LISTEN: switch (event) { case CNCL: diff --git a/src/devices/mesh/dot11s/peer-link.h b/src/devices/mesh/dot11s/peer-link.h index b7244e2e9..d918e9339 100644 --- a/src/devices/mesh/dot11s/peer-link.h +++ b/src/devices/mesh/dot11s/peer-link.h @@ -141,7 +141,6 @@ private: /// Peer link states, see 802.11s draft 11B.3.3.1 enum PeerState { IDLE, - LISTEN, OPN_SNT, CNF_RCVD, OPN_RCVD,