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 2004-04-02 22:48:52 +00:00
parent 0b28f0e554
commit c09c9ffb05

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