From f83b279588ca2dd217308cb426f7f4cc29be87db Mon Sep 17 00:00:00 2001 From: David Christensen Date: Mon, 2 May 2011 23:34:33 +0000 Subject: [PATCH] - Fixed a typo in an if() statement when setting flow control for MTU greater than 5000 bytes. Submitted by: yongari --- sys/dev/bxe/if_bxe.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/dev/bxe/if_bxe.c b/sys/dev/bxe/if_bxe.c index a877ba02488..05ed74719f4 100644 --- a/sys/dev/bxe/if_bxe.c +++ b/sys/dev/bxe/if_bxe.c @@ -3600,7 +3600,7 @@ bxe_initial_phy_init(struct bxe_softc *sc) * It is recommended to turn off RX flow control for 5771x * when using jumbo frames for better performance. */ - if (!IS_E1HMF(sc) & (sc->mbuf_alloc_size > 5000)) + if (!IS_E1HMF(sc) && (sc->mbuf_alloc_size > 5000)) sc->link_params.req_fc_auto_adv = FLOW_CTRL_TX; else sc->link_params.req_fc_auto_adv = FLOW_CTRL_BOTH;