Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 28 Jul 2013 17:35:19 +0000 (UTC)
From:      Adrian Chadd <adrian@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r253745 - head/sys/net80211
Message-ID:  <201307281735.r6SHZJks035804@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: adrian
Date: Sun Jul 28 17:35:19 2013
New Revision: 253745
URL: http://svnweb.freebsd.org/changeset/base/253745

Log:
  Fix compilation when debugging is disabled.

Modified:
  head/sys/net80211/ieee80211_mesh.c

Modified: head/sys/net80211/ieee80211_mesh.c
==============================================================================
--- head/sys/net80211/ieee80211_mesh.c	Sun Jul 28 16:56:31 2013	(r253744)
+++ head/sys/net80211/ieee80211_mesh.c	Sun Jul 28 17:35:19 2013	(r253745)
@@ -1040,10 +1040,9 @@ mesh_transmit_to_gate(struct ieee80211va
     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) {



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201307281735.r6SHZJks035804>