summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorClaudio Jeker <claudio@cvs.openbsd.org>2007-02-28 09:09:30 +0000
committerClaudio Jeker <claudio@cvs.openbsd.org>2007-02-28 09:09:30 +0000
commitb9ad829bfe3e99659b32ddefaa5b95505b97c0e0 (patch)
tree1173e3fa08109b64cbd9b3b5e8b278698bec3797 /sys/dev
parent47ee5fda5001737a9db33b983e112df967c0101e (diff)
Fix a ieee80211_node refcount leak -- the node lookup is done in
ieee80211_encap() so there is no need to do call ieee80211_find_txnode() beforehands. OK mglocker@
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/ic/acx.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/sys/dev/ic/acx.c b/sys/dev/ic/acx.c
index fb23268a2a5..e7c89303e69 100644
--- a/sys/dev/ic/acx.c
+++ b/sys/dev/ic/acx.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: acx.c,v 1.63 2007/02/23 22:17:05 claudio Exp $ */
+/* $OpenBSD: acx.c,v 1.64 2007/02/28 09:09:29 claudio Exp $ */
/*
* Copyright (c) 2006 Jonathan Gray <jsg@openbsd.org>
@@ -900,13 +900,6 @@ acx_start(struct ifnet *ifp)
}
eh = mtod(m, struct ether_header *);
- ni = ieee80211_find_txnode(ic, eh->ether_dhost);
- if (ni == NULL) {
- m_freem(m);
- ifp->if_oerrors++;
- continue;
- }
-
/* TODO power save */
#if NBPFILTER > 0