mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
- Fixed a typo in an if() statement when setting flow control for MTU
greater than 5000 bytes. Submitted by: yongari
This commit is contained in:
parent
3ff6178ab5
commit
f83b279588
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue