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

Michael Pounov misho at
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
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Feb 10 11:50:04 UTC 2012
>Originator:     Michael Pounov
>Release:        FreeBSD-CURRENT
FreeBSD 10.0-CURRENT FreeBSD 10.0-CURRENT #15: Wed Jan 11 15:00:02 EET 2012     root at  i386
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.

Add this line in kernel config::
 options         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
>       struct ifnet *ifp = sc->sc_ifp;
>       struct ieee80211com *ic = ifp->if_l2com;


More information about the freebsd-bugs mailing list