Date: Tue, 2 Oct 2007 00:57:48 GMT From: Andrew Thompson <thompsa@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 127079 for review Message-ID: <200710020057.l920vmvQ067461@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=127079 Change 127079 by thompsa@thompsa_heff on 2007/10/02 00:57:01 Setting the channel for monitor/adhoc mode requires the chip to be disabled and enabled. Affected files ... .. //depot/projects/wifi/sys/dev/ipw/if_ipw.c#29 edit Differences ... ==== //depot/projects/wifi/sys/dev/ipw/if_ipw.c#29 (text+ko) ==== @@ -2801,7 +2801,9 @@ IPW_LOCK(sc); if (ic->ic_opmode == IEEE80211_M_IBSS || ic->ic_opmode == IEEE80211_M_MONITOR) { + ipw_disable(sc); ipw_setchannel(sc, ic->ic_curchan); + ipw_enable(sc); } IPW_UNLOCK(sc); }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200710020057.l920vmvQ067461>