when doing internal bridging free the node instead of just dropping the

reference for consistency (explicit refcounting is discouraged)

Obtained from:	madwifi
This commit is contained in:
Sam Leffler 2004-04-02 22:48:52 +00:00
parent 9089c48c13
commit 7aa402898f
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=127763

View File

@ -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) {