Return-path: Received: from mga11.intel.com ([192.55.52.93]:29217 "EHLO mga11.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751429AbZGMUDW (ORCPT ); Mon, 13 Jul 2009 16:03:22 -0400 Subject: Re: [PATCH] iwlwifi 3945: Fix IWL_SCAN compile error From: reinette chatre To: Tim Gardner Cc: "Zhu, Yi" , "ipw3945-devel@lists.sourceforge.net" , "linux-kernel@vger.kernel.org" , "linux-wireless@vger.kernel.org" In-Reply-To: <20090713190803.9A70BF8D2C@sepang.rtg.net> References: <20090713190803.9A70BF8D2C@sepang.rtg.net> Content-Type: text/plain Date: Mon, 13 Jul 2009 13:03:21 -0700 Message-Id: <1247515401.17896.1630.camel@rc-desk> Mime-Version: 1.0 Sender: linux-wireless-owner@vger.kernel.org List-ID: Hi Tim, On Mon, 2009-07-13 at 12:08 -0700, Tim Gardner wrote: > From 2c7c806570ad72f5af2e778f2fe71aae7d727e02 Mon Sep 17 00:00:00 2001 > From: Tim Gardner > Date: Mon, 13 Jul 2009 12:53:32 -0600 > Subject: [PATCH] iwlwifi 3945: Fix IWL_DEBUG_SCAN compile > > Added a missing parameter in the macro invocation to correct a > compile error when CONFIG_IWLWIFI_DEBUG is enabled. > > Signed-off-by: Tim Gardner > --- > drivers/net/wireless/iwlwifi/iwl3945-base.c | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/drivers/net/wireless/iwlwifi/iwl3945-base.c b/drivers/net/wireless/iwlwifi/iwl3945-base.c > index 2564288..67332fb 100644 > --- a/drivers/net/wireless/iwlwifi/iwl3945-base.c > +++ b/drivers/net/wireless/iwlwifi/iwl3945-base.c > @@ -2962,7 +2962,7 @@ static void iwl3945_bg_request_scan(struct work_struct *data) > } > > if (scan->channel_count == 0) { > - IWL_DEBUG_SCAN("channel count %d\n", scan->channel_count); > + IWL_DEBUG_SCAN(priv,"channel count %d\n", scan->channel_count); > goto done; > } > On which code did you base this patch? Reinette