On Fri, 2010-10-01 at 14:05 +0200, Stanislaw Gruszka wrote: > When cfg80211 request the scan and mac80211 perform some management work, > we defer the scan request. We do not canceling such requests when calling > ieee80211_scan_cancel(), because of SCAN_SW_SCANNING bit check just > before the call. So fix that problem. Keeping local->mtx lock assures > that the deferred scan will not become "working" HW scan. But don't we also delay it becoming a working scan while we have work pending? Which seems OK? Also what's with all the other changes here, they don't seem related to this? 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