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) {
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "[email protected]"

Reply via email to