summaryrefslogtreecommitdiff
path: root/sys/dev/ic/rt2560.c
diff options
context:
space:
mode:
authorMartin Pieuchot <mpi@cvs.openbsd.org>2015-02-10 23:25:47 +0000
committerMartin Pieuchot <mpi@cvs.openbsd.org>2015-02-10 23:25:47 +0000
commit7c403e2a069557e11eff809df4bef961e13e173b (patch)
tree949a90708e608d69befbfebaf83a339de05dc7ec /sys/dev/ic/rt2560.c
parent47ef64699721c7759c4955e97de678fa3df4356c (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/rt2560.c')
-rw-r--r--sys/dev/ic/rt2560.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/dev/ic/rt2560.c b/sys/dev/ic/rt2560.c
index 431a9db86d2..206a0ec95b3 100644
--- a/sys/dev/ic/rt2560.c
+++ b/sys/dev/ic/rt2560.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rt2560.c,v 1.69 2014/12/22 02:28:51 tedu Exp $ */
+/* $OpenBSD: rt2560.c,v 1.70 2015/02/10 23:25:46 mpi Exp $ */
/*-
* Copyright (c) 2005, 2006
@@ -1165,7 +1165,6 @@ rt2560_decryption_intr(struct rt2560_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;