PERFORCE change 127079 for review
Andrew Thompson
thompsa at FreeBSD.org
Mon Oct 1 17:57:50 PDT 2007
http://perforce.freebsd.org/chv.cgi?CH=127079
Change 127079 by thompsa at 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);
}
More information about the p4-projects
mailing list