From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail-bw0-f163.google.com ([209.85.218.163]:42179 "EHLO mail-bw0-f163.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754890AbZDWH51 (ORCPT ); Thu, 23 Apr 2009 03:57:27 -0400 Received: by bwz7 with SMTP id 7so387588bwz.37 for ; Thu, 23 Apr 2009 00:57:25 -0700 (PDT) To: Johannes Berg Cc: John Linville , linux-wireless Subject: Re: [PATCH] mac80211: fix PS vs. scan race References: <1240434171.30082.21.camel@johannes.local> From: Kalle Valo Date: Thu, 23 Apr 2009 10:57:23 +0300 In-Reply-To: <1240434171.30082.21.camel@johannes.local> (Johannes Berg's message of "Wed\, 22 Apr 2009 23\:02\:51 +0200") Message-ID: <87zle7by58.fsf@litku.valot.fi> (sfid-20090423_095744_593550_52E794A2) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: linux-wireless-owner@vger.kernel.org List-ID: Johannes Berg writes: > When somebody changes the PS parameters while scanning > is in progress, we enable PS -- during the scan. This > is clearly not desirable, and we can just abort enabling > PS when scanning since when the scan finishes it will > be taken care of. > > Signed-off-by: Johannes Berg Reviewed-by: Kalle Valo -- Kalle Valo