Return-path: Received: from ra.tuxdriver.com ([70.61.120.52]:4959 "EHLO ra.tuxdriver.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753291AbYFXUWF (ORCPT ); Tue, 24 Jun 2008 16:22:05 -0400 Date: Tue, 24 Jun 2008 15:47:15 -0400 From: "John W. Linville" To: drago01 Cc: Tomas Winkler , Zhu Yi , linux-wireless@vger.kernel.org, ipw3945-devel@lists.sourceforge.net Subject: Re: [ipw3945-devel] [BUG] iwlwifi 3945 works only with disable_hw_scan=1 Message-ID: <20080624194714.GA11664@tuxdriver.com> (sfid-20080624_222226_513685_3DDBFE82) References: <48528CF0.8050204@gmail.com> <1ba2fa240806131304n442972eatfd2f35034476c380@mail.gmail.com> <48551C62.80904@gmail.com> <1ba2fa240806150647mdc97d98oad0b1b02de1fcf87@mail.gmail.com> <48552344.5090801@gmail.com> <1ba2fa240806150809h13c28937nd064230baca8a15d@mail.gmail.com> <1ba2fa240806150947s1ed9391ao4b1d1a91c871ef8f@mail.gmail.com> <4855FF14.9080506@gmail.com> <1ba2fa240806152252v5fdb4f7dn1028a2a02e8d9cd1@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: Sender: linux-wireless-owner@vger.kernel.org List-ID: On Wed, Jun 18, 2008 at 10:28:04AM +0200, drago01 wrote: > >>> Please try this one > >>> > >>> --- a/drivers/net/wireless/iwlwifi/iwl3945-base.c > >>> +++ b/drivers/net/wireless/iwlwifi/iwl3945-base.c > >>> @@ -3348,7 +3348,10 @@ static void > >>> iwl3945_rx_scan_complete_notif(struct iwl3945_priv *priv, > >>> > >>> /* Remove this scanned band from the list > >>> * of pending bands to scan */ > >>> - priv->scan_bands--; > >>> + if (priv->cfg->sku & IWL_SKU_A) > >>> + priv->scan_bands--; > >>> + else > >>> + priv->scan_bands = 0; > >>> > >>> > >> > >> > >> I tested this patch, and it fixes this issue, Thanks a lot. > >> > > Thanks a lot for helping resolve this. I will post an official patch. > > seems like a fix thats worth having in .26 Did I miss the official post of this patch? John -- John W. Linville linville@tuxdriver.com