From patchwork Sun Aug 16 13:32:40 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?G=C3=A1bor_Stefanik?= X-Patchwork-Id: 41777 Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id n7GDWjpW002639 for ; Sun, 16 Aug 2009 13:32:46 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754122AbZHPNcm (ORCPT ); Sun, 16 Aug 2009 09:32:42 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754079AbZHPNcm (ORCPT ); Sun, 16 Aug 2009 09:32:42 -0400 Received: from mail-fx0-f215.google.com ([209.85.220.215]:42899 "EHLO mail-fx0-f215.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754004AbZHPNcl (ORCPT ); Sun, 16 Aug 2009 09:32:41 -0400 Received: by fxm11 with SMTP id 11so1869868fxm.39 for ; Sun, 16 Aug 2009 06:32:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:cc:subject:content-type :content-transfer-encoding; bh=XhAXuC0iIXDj6BddBWz9D1efvQeQcTnaXsFvFqCoXDg=; b=pJhGYyjhGT154DY9YU3MQHHR7E65CvttbwmYVk98Kuh6+S/q/Mj8YYW8wFNCJYGd2F B0XAePV5CPm/AuFpUcHfvPmj6oS5JzJMPd/OCQyYOMDPS/WJ2lYY+kPxzXe5lz0e+D+E AgODVfen32S1en2wkBoiKe6vnLQSeqHhddcSw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :content-type:content-transfer-encoding; b=GC9M08QgRDuqOwXrSHoJhv/d+TZ/rIJyaCl8L9LTJLB98OfxhAoAMKsaao+5FJWz+C GiHuBfAnBfBqjfZAaIbq8kSGjBUdV5C5iffuFeaEkoMXoCe0+ej7ahsMdh+XWX6QE/sD 8C8Vklu4oGX2WCoDOeQOzj6epnhJO1TTc+OCg= Received: by 10.103.169.18 with SMTP id w18mr998578muo.69.1250429561973; Sun, 16 Aug 2009 06:32:41 -0700 (PDT) Received: from ?192.168.1.5? (pool-051c0.externet.hu [92.52.198.191]) by mx.google.com with ESMTPS id e9sm14990049muf.32.2009.08.16.06.32.40 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sun, 16 Aug 2009 06:32:41 -0700 (PDT) Message-ID: <4A880A78.9050205@gmail.com> Date: Sun, 16 Aug 2009 15:32:40 +0200 From: =?UTF-8?B?R8OhYm9yIFN0ZWZhbmlr?= User-Agent: Thunderbird 2.0.0.22 (Windows/20090605) MIME-Version: 1.0 To: John Linville , Michael Buesch , Larry Finger CC: Mark Huijgen , Broadcom Wireless , linux-wireless Subject: [PATCH] b43: LP-PHY: Fix a spec error in the B2062 channel switch routine Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org The channel switch routine had a whole instruction missing. Add it. Signed-off-by: Gábor Stefanik --- drivers/net/wireless/b43/phy_lp.c | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/drivers/net/wireless/b43/phy_lp.c b/drivers/net/wireless/b43/phy_lp.c index a51da6e..3889519 100644 --- a/drivers/net/wireless/b43/phy_lp.c +++ b/drivers/net/wireless/b43/phy_lp.c @@ -1939,6 +1939,10 @@ static int lpphy_b2062_tune(struct b43_wldev *dev, tmp5 = tmp7 * 0x100; tmp6 = tmp5 / tmp4; tmp7 = tmp5 % tmp4; + b43_radio_write(dev, B2062_S_RFPLL_CTL27, tmp6); + tmp5 = tmp7 * 0x100; + tmp6 = tmp5 / tmp4; + tmp7 = tmp5 % tmp4; b43_radio_write(dev, B2062_S_RFPLL_CTL28, tmp6); tmp5 = tmp7 * 0x100; tmp6 = tmp5 / tmp4;