From 08e34a83dd1415f2b4127665639011975ce91465 Mon Sep 17 00:00:00 2001 From: Jens Osterkamp Date: Mon, 15 Aug 2011 18:17:29 -0700 Subject: [PATCH 28/29] bugfix: go to VSI_EXIT immediately on neg response If a vsi_profile receives a negative response while in ASSOCIATED state, it has to go to VSI_EXIT immediately to avoid sitting in DEASSOC_PROCESSING before timing out. Signed-off-by: Jens Osterkamp Signed-off-by: John Fastabend Signed-off-by: Petr Sabata --- lldp_vdp.c | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/lldp_vdp.c b/lldp_vdp.c index 15fed51..646105a 100644 --- a/lldp_vdp.c +++ b/lldp_vdp.c @@ -573,8 +573,7 @@ static bool vdp_vsi_set_station_state(struct vsi_profile *profile) vdp_vsi_change_station_state(profile, VSI_DEASSOC_PROCESSING); return true; } else if (vdp_vsi_negative_response(profile)) { - vdp_vsi_change_station_state(profile, VSI_DEASSOC_PROCESSING); - vdp_somethingChangedLocal(profile, true); + vdp_vsi_change_station_state(profile, VSI_EXIT); return true; } else if (vdp_keepaliveTimer_expired(profile)) { vdp_stop_keepaliveTimer(profile); -- 1.7.6