On Tue, 2013-02-19 at 17:47 +0100, Stanislaw Gruszka wrote: > If possible that after suspend cfg80211 receive request to disconnect > what require action on interface that was removed during suspend. > Problem can manifest itself by various warnings similar to below one: [...] > To fix the problem disconnect from AP during suspend. This will fix the immediate problem, but not in general. What if we're joined to an IBSS while suspending? A similar thing could happen. Or operating as an AP? Or joined to a mesh? etc. I think it'd be better to implement this as explicit disconnect, leave, teardown, whatever ... in cfg80211 rather than mac80211, although then of course mac80211 could have a bunch of cleanups, e.g. the various _quiesce functions could be reduced then 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