From 7aa402898fa5c542d67f457717abf9efa9bc66d1 Mon Sep 17 00:00:00 2001 From: Sam Leffler Date: Fri, 2 Apr 2004 22:48:52 +0000 Subject: [PATCH] when doing internal bridging free the node instead of just dropping the reference for consistency (explicit refcounting is discouraged) Obtained from: madwifi --- sys/net80211/ieee80211_input.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/net80211/ieee80211_input.c b/sys/net80211/ieee80211_input.c index afffee8731fd..bf4cc3e4d672 100644 --- a/sys/net80211/ieee80211_input.c +++ b/sys/net80211/ieee80211_input.c @@ -284,7 +284,7 @@ ieee80211_input(struct ifnet *ifp, struct mbuf *m, struct ieee80211_node *ni, m1 = m; m = NULL; } - ieee80211_unref_node(&ni); + ieee80211_free_node(ic, ni); } } if (m1 != NULL) {