On Thu, 2011-01-20 at 09:32 -0800, greearb@xxxxxxxxxxxxxxx wrote: > - ieee80211_offchannel_stop_beaconing(local); > + if (local->ops->sw_scan_start_cur && > + local->scan_req->n_channels == 1 && > + local->scan_req->channels[0] == local->hw.conf.channel) { > + __set_bit(SCAN_ON_CUR_CHANNEL, &local->scanning); > + drv_sw_scan_start_cur(local, true); > + } else > + drv_sw_scan_start(local); This doesn't seem to make much sense either -- even if we do a scan over multiple channels we should be able to optimise the part on the current channel (maybe put it at the beginning or end too). johannes -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html