On Mon, Mar 11, 2013 at 06:01:19PM +0100, Stanislaw Gruszka wrote: > Change suspend/resume and add/remove virtual monitor code (called at > ieee80211_do_stop) to avoid calling drv callback while we are suspended. [snip] > - if (sdata && ieee80211_sdata_running(sdata)) > - ieee80211_assign_chanctx(local, sdata); > + if (sdata) { > + res = ieee80211_vif_use_channel(sdata, &local->monitor_chandef, > + IEEE80211_CHANCTX_EXCLUSIVE); > + if (WARN_ON(res)) { > + drv_remove_interface(local, sdata); > + rcu_assign_pointer(local->monitor_sdata, NULL); > + synchronize_net(); > + kfree(sdata); > + } Hmm, this probably shouldn't be changed for hw restart case. Stanislaw -- 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