On Fri, 2014-10-17 at 07:02 +0530, Sujith Manoharan wrote: > Yes, the scan cancellation is initiated on interface removal, > but it's async. These commits explain the race: > > https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/net/wireless/core.c?id=a617302c531eaf497ccd02a61d380efc119ba999 > https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/net/wireless/core.c?id=f9d15d162b3acf28f85b3ac05c4883e5ed588d28 > > We see it often with ath9k on a low-powered board, with > a 'state manager' that plays with the interfaces. Those commits say they *fix* the race though, so in case I was wrong you should report the sequence of events so we can look at fixing it properly? I'm not going to apply this patch, it's not even a band-aid, it's only like an aspirin pill that makes the pain go away... 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