On Tue, Dec 7, 2010 at 7:48 AM, Johannes Berg <johannes@xxxxxxxxxxxxxxxx> wrote: > On Tue, 2010-12-07 at 07:44 -0800, Luis R. Rodriguez wrote: > >> >> Â Â Â drv_stop(local); >> >> + Â Â ieee80211_recalc_idle_force(local); >> > >> > That one definitely can't be after drv_stop(). >> >> OK why though? > > Because you can't call into drivers after you stop them? Shouldn't this > be obvious? That makes sense, but mac80211 is the one who tells the driver when its idle or non-idle, if we stop the device do we want it to handle an idle check itself? This change would only force out an idle change notification, nothing else. Luis -- 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