Fix compilation when debugging is disabled.

This commit is contained in:
Adrian Chadd 2013-07-28 17:35:19 +00:00
parent 232b79f5f7
commit 1cc7c4c370
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=253745

View File

@ -1040,10 +1040,9 @@ mesh_transmit_to_gate(struct ieee80211vap *vap, struct mbuf *m,
struct ieee80211_mesh_route *rt_gate)
{
struct ifnet *ifp = vap->iv_ifp;
struct ieee80211com *ic = vap->iv_ic;
struct ieee80211_node *ni;
IEEE80211_TX_UNLOCK_ASSERT(ic);
IEEE80211_TX_UNLOCK_ASSERT(vap->iv_ic);
ni = ieee80211_mesh_find_txnode(vap, rt_gate->rt_dest);
if (ni == NULL) {