From patchwork Mon Apr 18 13:28:27 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ivo van Doorn X-Patchwork-Id: 715231 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id p3IDZmEN000691 for ; Mon, 18 Apr 2011 13:36:10 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753927Ab1DRNfu (ORCPT ); Mon, 18 Apr 2011 09:35:50 -0400 Received: from mail-fx0-f46.google.com ([209.85.161.46]:53097 "EHLO mail-fx0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753925Ab1DRNft (ORCPT ); Mon, 18 Apr 2011 09:35:49 -0400 Received: by mail-fx0-f46.google.com with SMTP id 17so2833789fxm.19 for ; Mon, 18 Apr 2011 06:35:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:from:to:subject:date:user-agent:cc:references :in-reply-to:mime-version:content-type:content-transfer-encoding :message-id; bh=6Bzuq99lFyBZ9Yw5Vt1cFeixVlYa2Hj9+5WOKiC/GJk=; b=rOibgShF/ddjkbF3IHh1ZVT3YM8Fj5cGiVPTQptIUiFleGBGL5jMse0rNIus0YLGG2 omXToRoIbFbftiMi7YImr4ot+h06JqOqO1NM9bViLIPKS5KFdh6oW6ByXEqgmxE4l3Ij gfeM2Izzxgk2Zkua3Ywpbdz2AppM4ximMZnS0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:subject:date:user-agent:cc:references:in-reply-to :mime-version:content-type:content-transfer-encoding:message-id; b=j5VNbrsvw9i55LAWVTDXHVQucoBWMQQ/caTxxsLDT/ZV7WcVyr6SGdWtzRj4dLvsTj xYGgmfg/14QNNqTCI3Q3u9EhcXdB1sY6LRulHroyt6iXcbifYKULBAOlW9ez+rAPrlOV NiYIHulF8j2W3+ojNVljkZewfEj3Bc/3hZEVo= Received: by 10.223.127.210 with SMTP id h18mr2465238fas.71.1303133748877; Mon, 18 Apr 2011 06:35:48 -0700 (PDT) Received: from localhost.localdomain (g121037.upc-g.chello.nl [80.57.121.37]) by mx.google.com with ESMTPS id c21sm1673551fac.46.2011.04.18.06.35.46 (version=SSLv3 cipher=OTHER); Mon, 18 Apr 2011 06:35:47 -0700 (PDT) From: Ivo van Doorn To: "John W. Linville" Subject: [PATCH 06/23] rt2x00: Update TX_SW_CFG2 init value Date: Mon, 18 Apr 2011 15:28:27 +0200 User-Agent: KMail/1.13.5 (Linux/2.6.32.26-175.fc12.x86_64; KDE/4.4.5; x86_64; ; ) Cc: linux-wireless@vger.kernel.org, users@rt2x00.serialmonkey.com References: <201104181526.01722.IvDoorn@gmail.com> <201104181527.44542.IvDoorn@gmail.com> <201104181528.05047.IvDoorn@gmail.com> In-Reply-To: <201104181528.05047.IvDoorn@gmail.com> MIME-Version: 1.0 Message-Id: <201104181528.28208.IvDoorn@gmail.com> 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.6 (demeter1.kernel.org [140.211.167.41]); Mon, 18 Apr 2011 13:36:10 +0000 (UTC) From: Helmut Schaa Bring the TX_SW_CFG2 initialisation for rt305x devices in sync with the ralink legacy drivers. Signed-off-by: Helmut Schaa Acked-by: Gertjan van Wingerde Signed-off-by: Ivo van Doorn --- drivers/net/wireless/rt2x00/rt2800lib.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/net/wireless/rt2x00/rt2800lib.c b/drivers/net/wireless/rt2x00/rt2800lib.c index e0fa559..0e2c006 100644 --- a/drivers/net/wireless/rt2x00/rt2800lib.c +++ b/drivers/net/wireless/rt2x00/rt2800lib.c @@ -2427,7 +2427,7 @@ static int rt2800_init_registers(struct rt2x00_dev *rt2x00dev) } else if (rt2800_is_305x_soc(rt2x00dev)) { rt2800_register_write(rt2x00dev, TX_SW_CFG0, 0x00000400); rt2800_register_write(rt2x00dev, TX_SW_CFG1, 0x00000000); - rt2800_register_write(rt2x00dev, TX_SW_CFG2, 0x0000001f); + rt2800_register_write(rt2x00dev, TX_SW_CFG2, 0x00000030); } else if (rt2x00_rt(rt2x00dev, RT5390)) { rt2800_register_write(rt2x00dev, TX_SW_CFG0, 0x00000404); rt2800_register_write(rt2x00dev, TX_SW_CFG1, 0x00080606);