Johannes Berg wrote:
> But the driver can/should just do it when the interface is removed from
> it? Otherwise it has no valid way to run/continue the scan anyway?

cancel_hw_scan() is called before remove_interface() and if the
interface is removed in cfg80211 before __cfg80211_scan_done() gets
a chance to run, then this warning is hit.

a617302c531eaf497ccd02a61d380efc119ba999 mentions that the work item
cannot be flushed and prevents a use-after-free crash.

Sujith
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to