From owner-freebsd-wireless@FreeBSD.ORG Fri Feb 10 08:17:15 2012 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E49D31065673; Fri, 10 Feb 2012 08:17:15 +0000 (UTC) (envelope-from misho@elwix.org) Received: from x0r.aitnet.org (unknown [IPv6:2a00:e40:deba:1::5]) by mx1.freebsd.org (Postfix) with ESMTP id 6D84F8FC16; Fri, 10 Feb 2012 08:17:15 +0000 (UTC) Received: from localhost (unknown [127.0.0.1]) by x0r.aitnet.org (Postfix) with ESMTP id 593AD3F769; Fri, 10 Feb 2012 10:17:14 +0200 (EET) X-Virus-Scanned: amavisd-new at aitnet.org Received: from x0r.aitnet.org ([127.0.0.1]) by localhost (x0r.aitnet.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 5FOVI9gtUxGY; Fri, 10 Feb 2012 10:17:13 +0200 (EET) Received: from misho.batmbg.com (unknown [212.116.129.162]) by x0r.aitnet.org (Postfix) with ESMTPSA id CCEC43F72B; Fri, 10 Feb 2012 10:17:13 +0200 (EET) Date: Fri, 10 Feb 2012 10:17:15 +0200 From: Michael Pounov To: adrian@freebsd.org Message-Id: <20120210101715.a95d0487.misho@elwix.org> In-Reply-To: References: <201202062059.16816.bschmidt@freebsd.org> Organization: ELWIX X-Mailer: Sylpheed 3.1.2 (GTK+ 2.24.6; i386-portbld-freebsd9.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-wireless@freebsd.org Subject: Problem build of if_ath driver with certain mode X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussions of 802.11 stack, tools device driver development." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Feb 2012 08:17:16 -0000 Hi, Adrian I working with atheros driver intensively. After last build of -current with my kernel config I found crash in build process. After some investigation I found missing variable *ic if you use IEEE80211_SUPPORT_SUPERG. Index: sys/dev/ath/if_ath.c =================================================================== RCS file: /home/ncvs/src/sys/dev/ath/if_ath.c,v retrieving revision 1.380 diff -r1.380 if_ath.c 4891a4892,4893 > struct ifnet *ifp = sc->sc_ifp; > struct ieee80211com *ic = ifp->if_l2com; Look at a patch and if you think it is ok, may be is good to include. Best Regards -- Michael Pounov