From patchwork Mon Aug 10 22:54:26 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: 40507 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 n7AMsW3s024221 for ; Mon, 10 Aug 2009 22:54:33 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754169AbZHJWy3 (ORCPT ); Mon, 10 Aug 2009 18:54:29 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754166AbZHJWy3 (ORCPT ); Mon, 10 Aug 2009 18:54:29 -0400 Received: from mail-fx0-f228.google.com ([209.85.220.228]:41669 "EHLO mail-fx0-f228.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754165AbZHJWy2 (ORCPT ); Mon, 10 Aug 2009 18:54:28 -0400 Received: by fxm28 with SMTP id 28so1213943fxm.17 for ; Mon, 10 Aug 2009 15:54:28 -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=QZtqtU8fHDYwqreSRD1bA+s+eWdc04+g4pebK1VxBI8=; b=CKSdkElenYpAHx1Llb1CSn9TVqHveJeCSYUkvmfpRtEyBe+Fl0c79s+vbVh1nK3Pkc fqzlCqGzdW+ZExESCMucfnrdvgp4pgPlR/C5VyNthAlWGPJHpJkjdR8g2JNt0gh5F/jG uHoo2cBMFajkMdhH7LQD9Uc+9ysb0qcXWOrTQ= 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=LT9KLINKY4CNZHFprFxEibsmPdq0fJW/qOnYled4ckutud95MNc3ZyZjI4pGvm0YN9 4Bv0JicryHdQ9f1+dZjgu62ZOJQnIUOcBgqFql9ThxwOnqsayiwZRC1llfgeDPcZGnty zsl/qdofuu9eehoXuS+SkvsYN8Bl+M2vz7+KM= Received: by 10.103.224.5 with SMTP id b5mr2116915mur.24.1249944868030; Mon, 10 Aug 2009 15:54:28 -0700 (PDT) Received: from ?192.168.1.3? (pool-06016.externet.hu [92.52.213.21]) by mx.google.com with ESMTPS id 14sm22239188muo.33.2009.08.10.15.54.27 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 10 Aug 2009 15:54:27 -0700 (PDT) Message-ID: <4A80A522.2020200@gmail.com> Date: Tue, 11 Aug 2009 00:54:26 +0200 From: =?UTF-8?B?R8OhYm9yIFN0ZWZhbmlr?= User-Agent: Thunderbird 2.0.0.22 (Windows/20090605) MIME-Version: 1.0 To: John Linville , Michael Buesch CC: Larry Finger , Broadcom Wireless , linux-wireless Subject: [PATCH] b43: Fix a typo in the sync_stx routine Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org I completely missed the "one's complement" instruction from the specs. Signed-off-by: Gábor Stefanik --- drivers/net/wireless/b43/phy_lp.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/net/wireless/b43/phy_lp.c b/drivers/net/wireless/b43/phy_lp.c index 46fe476..34ad738 100644 --- a/drivers/net/wireless/b43/phy_lp.c +++ b/drivers/net/wireless/b43/phy_lp.c @@ -578,7 +578,7 @@ static void lpphy_sync_stx(struct b43_wldev *dev) tmp >>= e->rf_shift; tmp <<= e->phy_shift; b43_phy_maskset(dev, B43_PHY_OFDM(0xF2 + e->phy_offset), - e->mask << e->phy_shift, tmp); + ~(e->mask << e->phy_shift), tmp); } }