kern/164951: Problem build of if_ath driver with certain mode

Michael Pounov misho at elwix.org
Fri Feb 10 11:50:05 UTC 2012


>Number:         164951
>Category:       kern
>Synopsis:       Problem build of if_ath driver with certain mode
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>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:
>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 at 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:
>Unformatted:


More information about the freebsd-bugs mailing list