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/rt2661.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/rt2661.c')
-rw-r--r-- | sys/dev/ic/rt2661.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/dev/ic/rt2661.c b/sys/dev/ic/rt2661.c index 1e57f540bad..dd17032c366 100644 --- a/sys/dev/ic/rt2661.c +++ b/sys/dev/ic/rt2661.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rt2661.c,v 1.78 2014/12/22 02:28:51 tedu Exp $ */ +/* $OpenBSD: rt2661.c,v 1.79 2015/02/10 23:25:46 mpi Exp $ */ /*- * Copyright (c) 2006 @@ -1248,7 +1248,6 @@ rt2661_rx_intr(struct rt2661_softc *sc) desc->physaddr = htole32(data->map->dm_segs->ds_addr); /* finalize mbuf */ - m->m_pkthdr.rcvif = ifp; m->m_pkthdr.len = m->m_len = (letoh32(desc->flags) >> 16) & 0xfff; |