Date: Sat, 14 Feb 2004 13:19:16 -0800 (PST) From: Sam Leffler <sam@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 46947 for review Message-ID: <200402142119.i1ELJGiT022922@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=46947 Change 46947 by sam@sam_ebb on 2004/02/14 13:18:21 move up initialization of ic_des_chan to before ieee80211_setmode to silence complaints about a NULL channel in ieee80211_chan2ieee Affected files ... .. //depot/projects/netperf+sockets/sys/net80211/ieee80211.c#14 edit Differences ... ==== //depot/projects/netperf+sockets/sys/net80211/ieee80211.c#14 (text+ko) ==== @@ -155,10 +155,10 @@ /* validate ic->ic_curmode */ if ((ic->ic_modecaps & (1<<ic->ic_curmode)) == 0) ic->ic_curmode = IEEE80211_MODE_AUTO; + ic->ic_des_chan = IEEE80211_CHAN_ANYC; /* any channel is ok */ (void) ieee80211_setmode(ic, ic->ic_curmode); - ic->ic_des_chan = IEEE80211_CHAN_ANYC; /* any channel is ok */ if (ic->ic_lintval == 0) ic->ic_lintval = 100; /* default sleep */ ic->ic_bmisstimeout = 7*ic->ic_lintval; /* default 7 beacons */
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200402142119.i1ELJGiT022922>