On Tue, 2010-12-07 at 07:20 -0800, Paul Stewart wrote: > On Tue, Dec 7, 2010 at 1:38 AM, Johannes Berg <johannes@xxxxxxxxxxxxxxxx> wrote: > > On Mon, 2010-12-06 at 18:48 -0800, Luis R. Rodriguez wrote: > >> --- a/net/mac80211/pm.c > >> +++ b/net/mac80211/pm.c > >> @@ -301,7 +301,7 @@ static void __ieee80211_scan_completed_finish(struct ieee80211_hw *hw, > >> } > >> > >> mutex_lock(&local->mtx); > >> - ieee80211_recalc_idle(local); > >> + ieee80211_recalc_idle_force(local); > > > > Does this really occur afterwards closing interfaces? > > It appears possible using wpa_supplicant with nl80211, at least using > the new DBus API. Actually I believe it happens _during_ ifdown, but when the running bit is already cleared, so I guess this is about right -- although it shouldn't matter since the recalc_idle in do_stop should catch it later. 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