diff options
author | Shmulik Ravid <shmulikr@broadcom.com> | 2011-09-22 04:33:33 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-09-27 21:04:24 +0200 |
commit | a0babc80eb375aad69dab4687c3b44c47d42f241 (patch) | |
tree | 2d09c8b9e52f1523f466ad4323cbcc6d66b51bfb /drivers/net | |
parent | bnx2x: fix WOL by enablement PME in config space (diff) | |
download | linux-a0babc80eb375aad69dab4687c3b44c47d42f241.tar.xz linux-a0babc80eb375aad69dab4687c3b44c47d42f241.zip |
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.c | 1 |
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; |