Johannes Berg wrote: > I'm not sure that's true - the WARN_ON you're modifying keys off > something that happens in cfg80211_scan_done(), not > __cfg80211_scan_done(), so as long as the driver called > cfg80211_scan_done() properly things should be OK? Here is a trace log showing the issue - cfg80211_scan_done() is called after NETDEV_DOWN is received in cfg80211_netdev_notifier_call(). http://pastebin.com/raw.php?i=AJqFLtZR I've removed entries to show the issue clearly, if you need the full trace, please let me know. > How are you implementing cancel_hw_scan()? You need to call > ieee80211_scan_completed() by the time the function returns. Yes, that's what we do in ath9k. Sujith -- 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