diff options
author | Yuval Mintz <yuvalmin@broadcom.com> | 2012-03-12 15:22:06 +0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-03-13 04:01:25 +0400 |
commit | e695a2dda1775dafc88174d2c0d71fab18db105a (patch) | |
tree | 965a0a772f88f667574e8646b5a68ce6c364224f /drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c | |
parent | ab4a71392eb8a91061c63af1d506f5d4580073cf (diff) | |
download | linux-e695a2dda1775dafc88174d2c0d71fab18db105a.tar.xz |
bnx2x: dcb bit indices flags used as bits
DCB flags were updated using the flags' bit offsets instead of
the actual bits. This is now fixed.
Signed-off-by: Yuval Mintz <yuvalmin@broadcom.com>
Signed-off-by: Eilon Greenstein <eilong@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c')
-rw-r--r-- | drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c b/drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c index 7aee46983be4..99389c8dda21 100644 --- a/drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c +++ b/drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c @@ -1934,7 +1934,7 @@ int bnx2x_nic_load(struct bnx2x *bp, int load_mode) } if (bp->port.pmf) - bnx2x_update_drv_flags(bp, DRV_FLAGS_DCB_CONFIGURED, 0); + bnx2x_update_drv_flags(bp, 1 << DRV_FLAGS_DCB_CONFIGURED, 0); else bnx2x__link_status_update(bp); |