bnx2x: add missing break in bnx2x_dcbnl_get_cap
authorShmulik Ravid <shmulikr@broadcom.com>
Thu, 22 Sep 2011 02:33:33 +0000 (02:33 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 27 Sep 2011 19:04:24 +0000 (15:04 -0400)
Signed-off-by: Dmitry Kravkov <dmitry@broadcom.com>
Signed-off-by: Eilon Greenstein <eilong@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/bnx2x/bnx2x_dcb.c

index a1e004a82f7ae92ae8250684352132892a4ced02..0b4acf67e0c6c9d44ac27385d10650269f7fd556 100644 (file)
@@ -2120,6 +2120,7 @@ static u8 bnx2x_dcbnl_get_cap(struct net_device *netdev, int capid, u8 *cap)
                        break;
                case DCB_CAP_ATTR_DCBX:
                        *cap = BNX2X_DCBX_CAPS;
+                       break;
                default:
                        rval = -EINVAL;
                        break;