diff options
author | Brad Smith <brad@cvs.openbsd.org> | 2008-11-06 02:32:30 +0000 |
---|---|---|
committer | Brad Smith <brad@cvs.openbsd.org> | 2008-11-06 02:32:30 +0000 |
commit | 6e64ef319dbd93c0fb085debf78fc39822d82865 (patch) | |
tree | ee12aeca459c377202c7a8e365950b16eebd4138 /sys/dev/usb/if_axe.c | |
parent | 56a4de48328c4166c7a421c847388b20f1f5d79c (diff) |
Set the IFCAP_VLAN_MTU capabilities flag so these interfaces are allowed
to transmit full sized VLAN tagged frames.
Diffstat (limited to 'sys/dev/usb/if_axe.c')
-rw-r--r-- | sys/dev/usb/if_axe.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/dev/usb/if_axe.c b/sys/dev/usb/if_axe.c index cc6880b87c0..ab00e05ed9d 100644 --- a/sys/dev/usb/if_axe.c +++ b/sys/dev/usb/if_axe.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_axe.c,v 1.89 2008/11/02 10:46:10 jsg Exp $ */ +/* $OpenBSD: if_axe.c,v 1.90 2008/11/06 02:32:28 brad Exp $ */ /* * Copyright (c) 2005, 2006, 2007 Jonathan Gray <jsg@openbsd.org> @@ -708,6 +708,8 @@ axe_attach(struct device *parent, struct device *self, void *aux) IFQ_SET_READY(&ifp->if_snd); + ifp->if_capabilities = IFCAP_VLAN_MTU; + /* Initialize MII/media info. */ mii = &sc->axe_mii; mii->mii_ifp = ifp; |