diff options
author | Patrick Wildt <patrick@cvs.openbsd.org> | 2018-02-11 05:13:08 +0000 |
---|---|---|
committer | Patrick Wildt <patrick@cvs.openbsd.org> | 2018-02-11 05:13:08 +0000 |
commit | 083453fedb35d58ff15815846ac9f9a64cd55922 (patch) | |
tree | dfbf73cf11a7803abc0680cc7e0a71340d96772a /sys/dev/usb | |
parent | a339729638051a9c72256e928ab780b2ba6c7d91 (diff) |
Since the BCDC header has a variable data offset, so the ethernet packet
alignment can be variable, it's better to move taking care of alignment
into the BCDC receive code.
Diffstat (limited to 'sys/dev/usb')
-rw-r--r-- | sys/dev/usb/if_bwfm_usb.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/dev/usb/if_bwfm_usb.c b/sys/dev/usb/if_bwfm_usb.c index dbc47311407..42e5623d9d8 100644 --- a/sys/dev/usb/if_bwfm_usb.c +++ b/sys/dev/usb/if_bwfm_usb.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_bwfm_usb.c,v 1.10 2018/02/08 05:00:38 patrick Exp $ */ +/* $OpenBSD: if_bwfm_usb.c,v 1.11 2018/02/11 05:13:07 patrick Exp $ */ /* * Copyright (c) 2010-2016 Broadcom Corporation * Copyright (c) 2016,2017 Patrick Wildt <patrick@blueri.se> @@ -422,7 +422,6 @@ bwfm_usb_newbuf(void) } m->m_len = m->m_pkthdr.len = MCLBYTES; - m_adj(m, ETHER_ALIGN); return (m); } |