From nobody@FreeBSD.org  Fri Feb 10 11:48:00 2012
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 7C8681065672
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 10 Feb 2012 11:48:00 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22])
	by mx1.freebsd.org (Postfix) with ESMTP id 676CC8FC15
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 10 Feb 2012 11:48:00 +0000 (UTC)
Received: from red.freebsd.org (localhost [127.0.0.1])
	by red.freebsd.org (8.14.4/8.14.4) with ESMTP id q1ABlxDc072417
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 10 Feb 2012 11:47:59 GMT
	(envelope-from nobody@red.freebsd.org)
Received: (from nobody@localhost)
	by red.freebsd.org (8.14.4/8.14.4/Submit) id q1ABlxoH072416;
	Fri, 10 Feb 2012 11:47:59 GMT
	(envelope-from nobody)
Message-Id: <201202101147.q1ABlxoH072416@red.freebsd.org>
Date: Fri, 10 Feb 2012 11:47:59 GMT
From: Michael Pounov <misho@elwix.org>
To: freebsd-gnats-submit@FreeBSD.org
Subject: Problem build of if_ath driver with certain mode
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         164951
>Category:       kern
>Synopsis:       [ath] [patch] Problem build of if_ath driver with certain mode
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    adrian
>State:          patched
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Feb 10 11:50:04 UTC 2012
>Closed-Date:    
>Last-Modified:  Sun Jun 24 18:56:16 UTC 2012
>Originator:     Michael Pounov
>Release:        FreeBSD-CURRENT
>Organization:
ELWIX
>Environment:
FreeBSD elwix.aitnet.org 10.0-CURRENT FreeBSD 10.0-CURRENT #15: Wed Jan 11 15:00:02 EET 2012     root@elwix.aitnet.org:/usr/obj/usr/src/sys/GENERIC  i386
>Description:
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.

>How-To-Repeat:
Add this line in kernel config::
 options         IEEE80211_SUPPORT_SUPERG
>Fix:
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;


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->freebsd-wireless 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Mon Apr 9 03:11:29 UTC 2012 
Responsible-Changed-Why:  
Over to maintainer(s). 

http://www.freebsd.org/cgi/query-pr.cgi?pr=164951 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: kern/164951: commit references a PR
Date: Tue, 10 Apr 2012 19:47:59 +0000 (UTC)

 Author: adrian
 Date: Tue Apr 10 19:47:44 2012
 New Revision: 234110
 URL: http://svn.freebsd.org/changeset/base/234110
 
 Log:
   Fix compilation with IEEE80211_ENABLE_SUPERG defined.
   
   PR:		kern/164951
 
 Modified:
   head/sys/dev/ath/if_ath.c
 
 Modified: head/sys/dev/ath/if_ath.c
 ==============================================================================
 --- head/sys/dev/ath/if_ath.c	Tue Apr 10 19:25:43 2012	(r234109)
 +++ head/sys/dev/ath/if_ath.c	Tue Apr 10 19:47:44 2012	(r234110)
 @@ -4906,6 +4906,7 @@ ath_tx_processq(struct ath_softc *sc, st
  	struct ath_tx_status *ts;
  	struct ieee80211_node *ni;
  	struct ath_node *an;
 +	struct ieee80211com *ic = sc->sc_ifp->if_l2com;
  	int nacked;
  	HAL_STATUS status;
  
 _______________________________________________
 svn-src-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/svn-src-all
 To unsubscribe, send any mail to "svn-src-all-unsubscribe@freebsd.org"
 
State-Changed-From-To: open->patched 
State-Changed-By: eadler 
State-Changed-When: Sun Jun 24 18:44:31 UTC 2012 
State-Changed-Why:  
committed in r234110 


Responsible-Changed-From-To: freebsd-wireless->adrian 
Responsible-Changed-By: eadler 
Responsible-Changed-When: Sun Jun 24 18:44:31 UTC 2012 
Responsible-Changed-Why:  
committed in r234110 

http://www.freebsd.org/cgi/query-pr.cgi?pr=164951 
>Unformatted:
