NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
kern/44151: Change from logical and to binary and.
>Number: 44151
>Category: kern
>Synopsis: Change from logical and to binary and.
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: kern-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Nov 26 07:40:00 +0000 2010
>Originator: Henning Petersen
>Release: NetBSD-current
>Organization:
>Environment:
>Description:
Change from logical and to binary and.
>How-To-Repeat:
>Fix:
diff -u -r1.33 if_bnx.c
--- sys/dev/pci/if_bnx.c 5 Apr 2010 07:20:25 -0000 1.33
+++ sys/dev/pci/if_bnx.c 25 Nov 2010 13:04:03 -0000
@@ -1996,7 +1996,7 @@
} else if (BNX_CHIP_BOND_ID(sc) & BNX_CHIP_BOND_ID_SERDES_BIT)
sc->bnx_phy_flags |= BNX_PHY_SERDES_FLAG;
- if (sc->bnx_phy_flags && BNX_PHY_SERDES_FLAG) {
+ if (sc->bnx_phy_flags & BNX_PHY_SERDES_FLAG) {
u_int32_t val;
sc->bnx_flags |= BNX_NO_WOL_FLAG;
Home |
Main Index |
Thread Index |
Old Index