From patchwork Wed Apr 7 07:06:34 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Helmut Schaa X-Patchwork-Id: 90934 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter.kernel.org (8.14.3/8.14.3) with ESMTP id o3776ndI008047 for ; Wed, 7 Apr 2010 07:06:49 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757414Ab0DGHGn (ORCPT ); Wed, 7 Apr 2010 03:06:43 -0400 Received: from fg-out-1718.google.com ([72.14.220.155]:26141 "EHLO fg-out-1718.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757160Ab0DGHGm (ORCPT ); Wed, 7 Apr 2010 03:06:42 -0400 Received: by fg-out-1718.google.com with SMTP id d23so309691fga.1 for ; Wed, 07 Apr 2010 00:06:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:received:from:to:subject:date :user-agent:cc:mime-version:message-id:x-uid:x-length:content-type :content-transfer-encoding; bh=rH1RsCj3AQC2EcefNySgICaY2P+rGEJxuq/CjMZPk6M=; b=FzL7kgS5Aey7njVh/vM/8jZ3E/xjP9uDCho5gwdkrSox1bMuULI8FMpc0OYHwR9zKZ +xr+p3Jh1BtSiwp50V8T4f1sln7dMGGiF5ie92ub87sRUQ/bgJNHUQuQuuulLz78J/oV adJOQUuG6ZCT0cz14Pi76XEE8bE3zDwxZNVM8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=from:to:subject:date:user-agent:cc:mime-version:message-id:x-uid :x-length:content-type:content-transfer-encoding; b=Y9mccSvF3U9Ojm2ITDchLU67svjyM3s/5NZ7ImFZTJ1FXtmWF4qoHv+jKxTQSRc5Tc ano5qYyPjiU9hUpaCEuLUPGLMiE4gcQkzPu18nXiQD9YDaFlap2B7Y6XxgZMb5PsPfXe efTNbPp1dlyOTYd1Ou4wZJ9xLudiTyHadotos= Received: by 10.87.1.12 with SMTP id d12mr12977131fgi.78.1270624000928; Wed, 07 Apr 2010 00:06:40 -0700 (PDT) Received: from helmutmobil.localnet (p5495AE57.dip.t-dialin.net [84.149.174.87]) by mx.google.com with ESMTPS id e20sm205124fga.11.2010.04.07.00.06.39 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 07 Apr 2010 00:06:40 -0700 (PDT) Received: from helmutmobil.localnet (p5495B138.dip.t-dialin.net [84.149.177.56]) by mx.google.com with ESMTPS id e3sm17428840fga.14.2010.04.06.07.55.45 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 06 Apr 2010 07:55:45 -0700 (PDT) From: Helmut Schaa To: John Linville Subject: [PATCH] rt2x00: use rt2800_config_channel_rt3x for rt2872 Date: Wed, 7 Apr 2010 09:06:34 +0200 User-Agent: KMail/1.12.4 (Linux/2.6.34-rc2-wl-default; KDE/4.3.5; x86_64; ; ) Cc: Ivo van Doorn , Gertjan van Wingerde , Luis Correia , linux-wireless@vger.kernel.org MIME-Version: 1.0 Message-Id: <201004070906.34724.helmut.schaa@googlemail.com> X-UID: 1084 X-Length: 2268 Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter.kernel.org [140.211.167.41]); Wed, 07 Apr 2010 07:06:49 +0000 (UTC) diff --git a/drivers/net/wireless/rt2x00/rt2800lib.c b/drivers/net/wireless/rt2x00/rt2800lib.c index 326fce7..c23b8fe 100644 --- a/drivers/net/wireless/rt2x00/rt2800lib.c +++ b/drivers/net/wireless/rt2x00/rt2800lib.c @@ -827,7 +827,8 @@ static void rt2800_config_channel(struct rt2x00_dev *rt2x00dev, u8 bbp; if ((rt2x00_rt(rt2x00dev, RT3070) || - rt2x00_rt(rt2x00dev, RT3090)) && + rt2x00_rt(rt2x00dev, RT3090) || + rt2x00_rt(rt2x00dev, RT2872)) && (rt2x00_rf(rt2x00dev, RF2020) || rt2x00_rf(rt2x00dev, RF3020) || rt2x00_rf(rt2x00dev, RF3021) ||