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

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