From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mga01.intel.com ([192.55.52.88]:2570 "EHLO mga01.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753703Ab1A1QEu (ORCPT ); Fri, 28 Jan 2011 11:04:50 -0500 Subject: Re: [PATCH 1/8] iwlwifi: do not set tx power when channel is changing From: wwguy To: Stanislaw Gruszka Cc: Intel Linux Wireless , "linux-wireless@vger.kernel.org" In-Reply-To: <1296229671-3041-1-git-send-email-sgruszka@redhat.com> References: <1296229671-3041-1-git-send-email-sgruszka@redhat.com> Content-Type: text/plain; charset="UTF-8" Date: Fri, 28 Jan 2011 08:03:15 -0800 Message-ID: <1296230595.7388.4.camel@wwguy-ubuntu> Mime-Version: 1.0 Sender: linux-wireless-owner@vger.kernel.org List-ID: Hi Stanislaw, On Fri, 2011-01-28 at 07:47 -0800, Stanislaw Gruszka wrote: > Mac80211 can request for tx power and channel change in one ->config > call. If that happens, *_send_tx_power functions will try to setup tx > power for old channel, what can be not correct because we already change > the band. I.e error "Failed to get channel info for channel 140 [0]", > can be printed frequently when operating in software scanning mode. > > Signed-off-by: Stanislaw Gruszka > --- > drivers/net/wireless/iwlwifi/iwl-3945.c | 2 +- > drivers/net/wireless/iwlwifi/iwl-4965.c | 2 +- > drivers/net/wireless/iwlwifi/iwl-agn-rxon.c | 5 ++--- > drivers/net/wireless/iwlwifi/iwl-core.c | 13 ++++++++++--- > 4 files changed, 14 insertions(+), 8 deletions(-) > Do you have a bugzilla bug being addressed by this patch? Wey