diff options
author | 2015-02-10 23:25:46 +0000 | |
---|---|---|
committer | 2015-02-10 23:25:46 +0000 | |
commit | 64fa60b726070c3ee9bd902e18bd8f61e914eb8e (patch) | |
tree | 685db0f1bd5669d9e0420ef32d7355a51a7d1c61 /sys/dev/pci/if_ipw.c | |
parent | Convert tsleep(9)/wakeup(9) usages. (diff) | |
download | wireguard-openbsd-64fa60b726070c3ee9bd902e18bd8f61e914eb8e.tar.xz wireguard-openbsd-64fa60b726070c3ee9bd902e18bd8f61e914eb8e.zip |
Wireless drivers call if_input() via ieee80211_input() which set `rcvif'
on every received mbuf, so there's no need to initialize this pointer in
the drivers.
Tested by and ok phessler@
Diffstat (limited to 'sys/dev/pci/if_ipw.c')
-rw-r--r-- | sys/dev/pci/if_ipw.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/dev/pci/if_ipw.c b/sys/dev/pci/if_ipw.c index 3a205e2e6cc..d0305e32f48 100644 --- a/sys/dev/pci/if_ipw.c +++ b/sys/dev/pci/if_ipw.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_ipw.c,v 1.106 2015/01/27 04:49:01 dlg Exp $ */ +/* $OpenBSD: if_ipw.c,v 1.107 2015/02/10 23:25:46 mpi Exp $ */ /*- * Copyright (c) 2004-2008 @@ -879,7 +879,6 @@ ipw_data_intr(struct ipw_softc *sc, struct ipw_status *status, sbd->bd->physaddr = htole32(sbuf->map->dm_segs[0].ds_addr); /* finalize mbuf */ - m->m_pkthdr.rcvif = ifp; m->m_pkthdr.len = m->m_len = letoh32(status->len); #if NBPFILTER > 0 |