summaryrefslogtreecommitdiff
path: root/drivers/net
diff options
context:
space:
mode:
authorShmulik Ravid <shmulikr@broadcom.com>2011-09-22 02:33:33 +0000
committerDavid S. Miller <davem@davemloft.net>2011-09-27 15:04:24 -0400
commita0babc80eb375aad69dab4687c3b44c47d42f241 (patch)
tree2d09c8b9e52f1523f466ad4323cbcc6d66b51bfb /drivers/net
parentf99779035730f8c3be8aeadd386cc9e77e086446 (diff)
bnx2x: add missing break in bnx2x_dcbnl_get_cap
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>
Diffstat (limited to 'drivers/net')
-rw-r--r--drivers/net/bnx2x/bnx2x_dcb.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/bnx2x/bnx2x_dcb.c b/drivers/net/bnx2x/bnx2x_dcb.c
index a1e004a82f7a..0b4acf67e0c6 100644
--- a/drivers/net/bnx2x/bnx2x_dcb.c
+++ b/drivers/net/bnx2x/bnx2x_dcb.c
@@ -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;