On Tue, 2009-07-28 at 18:29 +0200, Johannes Berg wrote: > On Tue, 2009-07-28 at 17:27 +0100, Dave wrote: > > > Looks right for monitor mode (as you tested), but for ad-hoc the channel > > change would be delayed until the next SIOCSIWCOMMIT. Which for cfg80211 > > is currently only on change_vif. > > You won't be getting this call for ad-hoc mode, because then the channel > is contained in the ibss_join() parameters. > > You can also eliminate orinoco_ioctl_setfreq from wext.c with this > > change. That also means you can't eliminate that, of course, since for connect() the channels is also contained in the parameters, and the set_freq isn't invoked. johannes