From owner-svn-src-all@FreeBSD.ORG Sun Jul 28 17:35:20 2013 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 34B12205; Sun, 28 Jul 2013 17:35:20 +0000 (UTC) (envelope-from adrian@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 20D5222E8; Sun, 28 Jul 2013 17:35:20 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id r6SHZJ1r035805; Sun, 28 Jul 2013 17:35:19 GMT (envelope-from adrian@svn.freebsd.org) Received: (from adrian@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id r6SHZJks035804; Sun, 28 Jul 2013 17:35:19 GMT (envelope-from adrian@svn.freebsd.org) Message-Id: <201307281735.r6SHZJks035804@svn.freebsd.org> From: Adrian Chadd Date: Sun, 28 Jul 2013 17:35:19 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r253745 - head/sys/net80211 X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Jul 2013 17:35:20 -0000 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) {