On Mon, 2011-03-07 at 12:42 +0100, Michael Buesch wrote: > > > [ 1182.826599] WARNING: at net/mac80211/scan.c:310 ieee80211_rx_bss_free+0x20c/0x4b8 [mac80211]() Actually ... It just looks like a race: The pattern is this: mutex_lock(&local->mtx); finish = __ieee80211_scan_completed(&local->hw, true, false); mutex_unlock(&local->mtx); ... if (finish) __ieee80211_scan_completed_finish(&local->hw, false); scan_completed() does local->scanning = 0; return true; The warning is: WARN_ON(local->scanning & (SCAN_SW_SCANNING | SCAN_HW_SCANNING)); but I don't see anything that would prevent a new scan from beginning during the time the mutex isn't locked, since everything is set to 0 or NULL that would block a new scan, I think? 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