summaryrefslogtreecommitdiffstats
path: root/sys/dev/tl
diff options
context:
space:
mode:
authorkevlo <kevlo@FreeBSD.org>2012-01-07 09:41:57 +0000
committerkevlo <kevlo@FreeBSD.org>2012-01-07 09:41:57 +0000
commit41b065b8d46fe265392cdb2ddde288e6685e6a17 (patch)
tree144bbe0cda0a389ee52d42a4e4d5d4f45b59c3cd /sys/dev/tl
parent6ccd11eb82acf6a486f18617bb71ce7a4e6a3a50 (diff)
downloadFreeBSD-src-41b065b8d46fe265392cdb2ddde288e6685e6a17.zip
FreeBSD-src-41b065b8d46fe265392cdb2ddde288e6685e6a17.tar.gz
ether_ifattach() sets if_mtu to ETHERMTU, don't bother set it again
Reviewed by: yongari
Diffstat (limited to 'sys/dev/tl')
-rw-r--r--sys/dev/tl/if_tl.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/dev/tl/if_tl.c b/sys/dev/tl/if_tl.c
index 4ab97e4..5f489bf 100644
--- a/sys/dev/tl/if_tl.c
+++ b/sys/dev/tl/if_tl.c
@@ -1175,7 +1175,6 @@ tl_attach(dev)
ifp->if_ioctl = tl_ioctl;
ifp->if_start = tl_start;
ifp->if_init = tl_init;
- ifp->if_mtu = ETHERMTU;
ifp->if_snd.ifq_maxlen = TL_TX_LIST_CNT - 1;
ifp->if_capabilities |= IFCAP_VLAN_MTU;
ifp->if_capenable |= IFCAP_VLAN_MTU;
OpenPOWER on IntegriCloud