diff options
author | 2018-02-11 05:13:07 +0000 | |
---|---|---|
committer | 2018-02-11 05:13:07 +0000 | |
commit | 8878a15e44c310f3824a86725a44126da66dbffc (patch) | |
tree | e00d67f54089b0122b425e7fe957235b768f100f /sys/dev/sdmmc | |
parent | oops, typo (diff) | |
download | wireguard-openbsd-8878a15e44c310f3824a86725a44126da66dbffc.tar.xz wireguard-openbsd-8878a15e44c310f3824a86725a44126da66dbffc.zip |
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/sdmmc')
-rw-r--r-- | sys/dev/sdmmc/if_bwfm_sdio.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/dev/sdmmc/if_bwfm_sdio.c b/sys/dev/sdmmc/if_bwfm_sdio.c index beb6c7a2a7e..9cbc626a946 100644 --- a/sys/dev/sdmmc/if_bwfm_sdio.c +++ b/sys/dev/sdmmc/if_bwfm_sdio.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_bwfm_sdio.c,v 1.5 2018/02/11 05:07:36 patrick Exp $ */ +/* $OpenBSD: if_bwfm_sdio.c,v 1.6 2018/02/11 05:13:07 patrick Exp $ */ /* * Copyright (c) 2010-2016 Broadcom Corporation * Copyright (c) 2016,2017 Patrick Wildt <patrick@blueri.se> @@ -1077,7 +1077,6 @@ bwfm_sdio_rx_frames(struct bwfm_sdio_softc *sc) m = bwfm_sdio_newbuf(); if (m == NULL) break; - m_adj(m, ETHER_ALIGN); if (flen - off > m->m_len) { printf("%s: frame bigger than anticipated\n", DEVNAME(sc)); |