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/ar9003.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/ar9003.c')
-rw-r--r-- | sys/dev/ic/ar9003.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/dev/ic/ar9003.c b/sys/dev/ic/ar9003.c index 4f4195fb4d8..700bebaad02 100644 --- a/sys/dev/ic/ar9003.c +++ b/sys/dev/ic/ar9003.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ar9003.c,v 1.31 2014/12/19 22:44:58 guenther Exp $ */ +/* $OpenBSD: ar9003.c,v 1.32 2015/02/10 23:25:46 mpi Exp $ */ /*- * Copyright (c) 2010 Damien Bergamini <damien.bergamini@free.fr> @@ -1009,7 +1009,6 @@ ar9003_rx_process(struct athn_softc *sc, int qid) bf->bf_m = m1; /* Finalize mbuf. */ - m->m_pkthdr.rcvif = ifp; /* Strip Rx status descriptor from head. */ m->m_data = (caddr_t)&ds[1]; m->m_pkthdr.len = m->m_len = len; |