On Mon, 2010-09-27 at 11:37 +0300, Luciano Coelho wrote: > From: Juuso Oikarinen <juuso.oikarinen@xxxxxxxxx> > > The mac80211 inserts channels into a scan request in the same order the driver > registers them. Use this fact to optimize scan by ordering the channels so > that adjacent channels don't get scanned consecutively. Cute, but not really ... First of all, iw will also report channels in this order, and that's just weird. Secondly, if you pass any channels to scan manually (say with iw), this assertion is no longer true -- cfg80211 will actually _sort_ the channels in that case to make sure there are no duplicates. So you really shouldn't be doing this. 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