PERFORCE change 35634 for review
Sam Leffler
sam at FreeBSD.org
Wed Aug 6 10:36:35 PDT 2003
http://perforce.freebsd.org/chv.cgi?CH=35634
Change 35634 by sam at 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
}
More information about the p4-projects
mailing list