On Fri, 2014-11-21 at 10:00 +0200, Jukka Rissanen wrote: > > Your patch also still has the problem I pointed out to you before - you > > can get the following sequence of events: > > > > start_sched_scan (owner=true) > > close socket - schedule worker > > start_sched_scan (from another socket, owner doesn't matter) > > If I am reading the code correctly from > nl80211.c:nl80211_start_sched_scan() this socket will get -EINPROGRESS. > Only after the worker has finished and called > __cfg80211_stop_sched_scan() will the other socket able to start a new > scheduled scan. Or I might have just missed some important detail > here :) Oh, you're right, my mistake. 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