On Fri, Oct 1, 2010 at 9:11 AM, Johannes Berg <johannes@xxxxxxxxxxxxxxxx> wrote: > On Fri, 2010-10-01 at 14:05 +0200, Stanislaw Gruszka wrote: >> Move ieee80211_scan_cancel() and all other related code to >> ieee80211_restart_work() as ieee80211_restart_hw() is intended to be >> callable from any context. >> >> Fix a bug that RTNL lock is not taken during ieee80211_cancel_scan(). >> >> Take local->mtx before WARN(test_bit(SCAN_HW_SCANNING, &local->scanning) >> to prevent the race condition with __ieee80211_start_scan() described >> here: http://marc.info/?l=linux-wireless&m=128516716810537&w=2 >> >> Signed-off-by: Stanislaw Gruszka <sgruszka@xxxxxxxxxx> > > This one's obvious -- the other ones I need a bit of time to review, and > it's practically weekend here now. I'll try to get to it ASAP. I'm going to suck this into linux-next-pending/ on compat-wireless for today's release as it may fix a deadlock with carl9170. Luis -- 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