On Tue, May 12, 2009 at 2:39 AM, Johannes Berg <johannes@xxxxxxxxxxxxxxxx> wrote: >> if (changed & IEEE80211_CONF_CHANGE_CHANNEL) { >> + err = ar9170_stop_and_flush_queues(ar); >> + if (err) >> + goto out; > > Why don't you do that in the pre-scan method? Will pre-scan be called once per scan or once for every channel switch? If the former, I think it's not the right place to flush. -- Bob Copeland %% www.bobcopeland.com -- 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