diff options
author | Shmulik Ravid <shmulikr@broadcom.com> | 2011-09-22 02:33:33 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-10-03 11:41:13 -0700 |
commit | f0e47138b26bd26d312aa63522a579acac5552c6 (patch) | |
tree | 10f9f1c7f6e8a587cb9931851aaae3b307c17d8d /drivers/net | |
parent | e69f24bc82f6cc28f7df885d401bc79ff3dc6401 (diff) |
bnx2x: add missing break in bnx2x_dcbnl_get_cap
commit a0babc80eb375aad69dab4687c3b44c47d42f241 upstream.
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
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 410a49e571a..d11af7cbd97 100644 --- a/drivers/net/bnx2x/bnx2x_dcb.c +++ b/drivers/net/bnx2x/bnx2x_dcb.c @@ -1858,6 +1858,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; |