On Fri, 2012-03-16 at 14:16 +0100, Stanislaw Gruszka wrote: > On Fri, Mar 16, 2012 at 01:54:13PM +0100, Johannes Berg wrote: > > I don't really see the point in this. It seems that this doesn't really > > help, you'd actually have to protect all the work stuff here with the > > mutex so the scanning can also be excluded or so? > > You mean some other work stuff than ieee80211_work_work() ? > > We have almost all ieee80211_work_work() code protected by local->mtx > already, I just moved local->scanning check after the mutex_lock. Oh, ok. I thought it wasn't really protected, I guess then this makes some sense. 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