On Fri, 2011-05-13 at 11:05 +0530, Rajkumar Manoharan wrote: > > How did you come to that conclusion? ieee80211_do_stop() does stop the > > scan. > > > True. But Sometimes ieee80211_scan_cancel is waiting for mutex where > the lock was already aquired by scan work and scan_work never releases > the lock till scan completion whenever next_delay == 0. But that shouldn't take a long time. And if it's "stuck" there, then cancel_delayed_work_sync() will also wait for it. > This scenario was observed while unplug the card during scan. If this happens then mac80211 will still make calls to the driver, I don't think we can avoid this and drivers will need to handle it. Maybe the driver is repeatedly timing out somewhere? 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