diff options
author | Martin Pieuchot <mpi@cvs.openbsd.org> | 2015-02-10 23:25:47 +0000 |
---|---|---|
committer | Martin Pieuchot <mpi@cvs.openbsd.org> | 2015-02-10 23:25:47 +0000 |
commit | 7c403e2a069557e11eff809df4bef961e13e173b (patch) | |
tree | 949a90708e608d69befbfebaf83a339de05dc7ec /sys/dev/ic/malo.c | |
parent | 47ef64699721c7759c4955e97de678fa3df4356c (diff) |
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/ic/malo.c')
-rw-r--r-- | sys/dev/ic/malo.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/dev/ic/malo.c b/sys/dev/ic/malo.c index f22c8d5d34b..ebe442ddcd3 100644 --- a/sys/dev/ic/malo.c +++ b/sys/dev/ic/malo.c @@ -1,4 +1,4 @@ -/* $OpenBSD: malo.c,v 1.104 2014/12/22 02:28:51 tedu Exp $ */ +/* $OpenBSD: malo.c,v 1.105 2015/02/10 23:25:46 mpi Exp $ */ /* * Copyright (c) 2006 Claudio Jeker <claudio@openbsd.org> @@ -1690,7 +1690,6 @@ malo_rx_intr(struct malo_softc *sc) desc->physdata = htole32(data->map->dm_segs->ds_addr); /* finalize mbuf */ - m->m_pkthdr.rcvif = ifp; m->m_pkthdr.len = m->m_len = letoh16(desc->len); /* |