Return-path: Received: from mail-iw0-f174.google.com ([209.85.214.174]:52027 "EHLO mail-iw0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752460Ab0LGSEW convert rfc822-to-8bit (ORCPT ); Tue, 7 Dec 2010 13:04:22 -0500 Received: by iwn9 with SMTP id 9so158954iwn.19 for ; Tue, 07 Dec 2010 10:04:22 -0800 (PST) MIME-Version: 1.0 In-Reply-To: <1291743121.3607.50.camel@jlt3.sipsolutions.net> References: <1291690135-4535-1-git-send-email-lrodriguez@atheros.com> <1291690135-4535-6-git-send-email-lrodriguez@atheros.com> <1291714709.3607.2.camel@jlt3.sipsolutions.net> <1291736887.3607.47.camel@jlt3.sipsolutions.net> <1291737298.3607.48.camel@jlt3.sipsolutions.net> <20101207155916.GA1855@tux> <1291743121.3607.50.camel@jlt3.sipsolutions.net> From: "Luis R. Rodriguez" Date: Tue, 7 Dec 2010 10:04:01 -0800 Message-ID: Subject: Re: [PATCH 5/5] mac80211: fix issuing idle calls when device open count is 0 To: Johannes Berg Cc: Luis Rodriguez , "linville@tuxdriver.com" , "linux-wireless@vger.kernel.org" , Amod Bodas , "pstew@google.com" , "stable@kernel.org" Content-Type: text/plain; charset=UTF-8 Sender: linux-wireless-owner@vger.kernel.org List-ID: On Tue, Dec 7, 2010 at 9:32 AM, Johannes Berg wrote: > On Tue, 2010-12-07 at 07:59 -0800, Luis R. Rodriguez wrote: > >> @@ -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); >>       mutex_unlock(&local->mtx); > > This is the change that I don't think is necessary. Without this resume fails. Luis