summaryrefslogtreecommitdiffstats
path: root/sys/dev/bxe/if_bxe.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/bxe/if_bxe.c')
-rw-r--r--sys/dev/bxe/if_bxe.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/bxe/if_bxe.c b/sys/dev/bxe/if_bxe.c
index fe6bd8b..bd903b5 100644
--- a/sys/dev/bxe/if_bxe.c
+++ b/sys/dev/bxe/if_bxe.c
@@ -2140,7 +2140,7 @@ bxe_attach(device_t dev)
ifp->if_capabilities = BXE_IF_CAPABILITIES;
/* TPA not enabled by default. */
ifp->if_capenable = BXE_IF_CAPABILITIES & ~IFCAP_LRO;
- ifp->if_baudrate = IF_Gbps(10UL);
+ if_initbaudrate(ifp, IF_Gbps(10));
ifp->if_snd.ifq_drv_maxlen = sc->tx_ring_size;
OpenPOWER on IntegriCloud