Date: Wed, 6 Aug 2003 10:36:33 -0700 (PDT) From: Sam Leffler <sam@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 35634 for review Message-ID: <200308061736.h76HaXcZ061551@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=35634 Change 35634 by sam@sam_ebb on 2003/08/06 10:35:48 must do lateattach work before media status is run; otherwise it'll find ic_bss null and crash Affected files ... .. //depot/projects/netperf/sys/net80211/ieee80211.c#3 edit Differences ... ==== //depot/projects/netperf/sys/net80211/ieee80211.c#3 (text+ko) ==== @@ -252,6 +252,12 @@ struct ieee80211_rateset allrates; /* + * Do late attach work that must wait for any subclass + * (i.e. driver) work such as overriding methods. + */ + ieee80211_node_lateattach(ifp); + + /* * Fill in media characteristics. */ ifmedia_init(&ic->ic_media, 0, media_change, media_stat); @@ -337,7 +343,6 @@ if (maxrate) ifp->if_baudrate = IF_Mbps(maxrate); - ieee80211_node_lateattach(ifp); /* XXX */ #undef ADD }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200308061736.h76HaXcZ061551>