On Wed, 2011-12-21 at 12:11 +0200, Eyal Shapira wrote: > Changes in mac/cfg80211 to notify userspace > of NL80211_CMD_SCHED_SCAN_STOPPED only when the driver > actually reported back that it was stopped. Also > blocks other attempts until we're really done. > > This fixes a scenario where stop sched scan > is issued and immediately afterwards a new sched scan > is requested (e.g. with other parameters). > Current state caused a race where the driver started > stopping the sched scan but didn't finish and got > another sched scan request which it couldn't handle. Luca really needs to take a close look at this, and I think you should also take a look to see if this kind of API change can be avoided. 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