diff options
author | adrian <adrian@FreeBSD.org> | 2013-07-28 17:35:19 +0000 |
---|---|---|
committer | adrian <adrian@FreeBSD.org> | 2013-07-28 17:35:19 +0000 |
commit | 70964450571b6943d3dee5f5dea8c75121c5cba0 (patch) | |
tree | 0afd9311f1dfe97bdbe502b440c4a33b6149a141 | |
parent | 430fe32cc6e7f1138516a33837154b3e0126946b (diff) | |
download | FreeBSD-src-70964450571b6943d3dee5f5dea8c75121c5cba0.zip FreeBSD-src-70964450571b6943d3dee5f5dea8c75121c5cba0.tar.gz |
Fix compilation when debugging is disabled.
-rw-r--r-- | sys/net80211/ieee80211_mesh.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/net80211/ieee80211_mesh.c b/sys/net80211/ieee80211_mesh.c index 35da7bb..417747b 100644 --- a/sys/net80211/ieee80211_mesh.c +++ b/sys/net80211/ieee80211_mesh.c @@ -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) { |