[lldp-devel] [PATCH 2/3] vdp22 remove default error status on VSI end

Thomas Richter tmricht at linux.vnet.ibm.com
Tue Nov 12 12:48:43 UTC 2013


Remove the default error status when an VSI is terminated
and no specific status error is set.
Instead the status error is set when detected.

Signed-off-by: Thomas Richter <tmricht at linux.vnet.ibm.com>
---
 qbg/vdp22sm.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/qbg/vdp22sm.c b/qbg/vdp22sm.c
index 37930bb..cdbef0c 100644
--- a/qbg/vdp22sm.c
+++ b/qbg/vdp22sm.c
@@ -541,8 +541,6 @@ static void vdp22st_end(struct vsi22 *vsi)
 		   " resp_vsi_mode:%d\n", __func__,
 		   vsi->vdp->ifname, vsi, vsi->vsi[0], vsi->flags,
 		   vsi->vsi_mode, vsi->cc_vsi_mode, vsi->resp_vsi_mode);
-	if (vsi->vsi_mode != vsi->resp_vsi_mode && !vsi->status)
-		vsi->status = make_status(VDP22_RESP_OTHER);
 	vsi->vsi_mode = vsi->cc_vsi_mode = VDP22_DEASSOC;
 	vsi->flags |= VDP22_DELETE_ME;
 	vsi->flags &= ~VDP22_BUSY;
-- 
1.8.3.1



More information about the lldp-devel mailing list