summaryrefslogtreecommitdiffstats
path: root/sys/dev/bce
diff options
context:
space:
mode:
authorjkim <jkim@FreeBSD.org>2010-07-26 23:24:42 +0000
committerjkim <jkim@FreeBSD.org>2010-07-26 23:24:42 +0000
commitc3237393534cb9ba2cca443aa13b7a7fe3aabf1e (patch)
tree90657cb8efdd8236f3a0cc0c6e6f19e9304eeb1e /sys/dev/bce
parent823ac342172532ac50e809c42eb12f2dcda7de1f (diff)
downloadFreeBSD-src-c3237393534cb9ba2cca443aa13b7a7fe3aabf1e.zip
FreeBSD-src-c3237393534cb9ba2cca443aa13b7a7fe3aabf1e.tar.gz
Fix an apparent typo.
Found by: clang Reviewed by: davidch, yongari
Diffstat (limited to 'sys/dev/bce')
-rw-r--r--sys/dev/bce/if_bce.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/bce/if_bce.c b/sys/dev/bce/if_bce.c
index 3cec72f..8671142 100644
--- a/sys/dev/bce/if_bce.c
+++ b/sys/dev/bce/if_bce.c
@@ -5404,7 +5404,7 @@ bce_init_rx_context(struct bce_softc *sc)
(BCE_CHIP_NUM(sc) == BCE_CHIP_NUM_5716)) {
u32 lo_water, hi_water;
- if (sc->bce_flags && BCE_USING_TX_FLOW_CONTROL) {
+ if (sc->bce_flags & BCE_USING_TX_FLOW_CONTROL) {
lo_water = BCE_L2CTX_RX_LO_WATER_MARK_DEFAULT;
} else {
lo_water = 0;
OpenPOWER on IntegriCloud