From patchwork Sun Sep 16 20:29:52 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gertjan van Wingerde X-Patchwork-Id: 1463261 Return-Path: X-Original-To: patchwork-linux-wireless@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork1.kernel.org (Postfix) with ESMTP id 73B743FCFC for ; Sun, 16 Sep 2012 20:30:54 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752805Ab2IPU36 (ORCPT ); Sun, 16 Sep 2012 16:29:58 -0400 Received: from cpsmtpb-ews03.kpnxchange.com ([213.75.39.6]:2043 "EHLO cpsmtpb-ews03.kpnxchange.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752608Ab2IPU35 (ORCPT ); Sun, 16 Sep 2012 16:29:57 -0400 Received: from cpsps-ews29.kpnxchange.com ([10.94.84.195]) by cpsmtpb-ews03.kpnxchange.com with Microsoft SMTPSVC(6.0.3790.4675); Sun, 16 Sep 2012 22:29:55 +0200 Received: from CPSMTPM-CMT104.kpnxchange.com ([195.121.3.20]) by cpsps-ews29.kpnxchange.com with Microsoft SMTPSVC(7.5.7601.17514); Sun, 16 Sep 2012 22:29:55 +0200 Received: from wingerd.gvw.nl ([86.87.118.224]) by CPSMTPM-CMT104.kpnxchange.com with Microsoft SMTPSVC(7.0.6002.18264); Sun, 16 Sep 2012 22:29:55 +0200 Received: by wingerd.gvw.nl (Postfix, from userid 1026) id 1AA57201794; Sun, 16 Sep 2012 22:29:55 +0200 (CEST) From: Gertjan van Wingerde To: , "John W. Linville" Cc: , Ivo van Doorn , Helmut Schaa , Gertjan van Wingerde Subject: [PATCH 4/5] rt2x00: Code style cleanup in rt2800lib.c Date: Sun, 16 Sep 2012 22:29:52 +0200 Message-Id: <1347827393-26948-5-git-send-email-gwingerde@gmail.com> X-Mailer: git-send-email 1.7.11.1 In-Reply-To: <1347827393-26948-4-git-send-email-gwingerde@gmail.com> References: <1347827393-26948-1-git-send-email-gwingerde@gmail.com> <1347827393-26948-2-git-send-email-gwingerde@gmail.com> <1347827393-26948-3-git-send-email-gwingerde@gmail.com> <1347827393-26948-4-git-send-email-gwingerde@gmail.com> X-OriginalArrivalTime: 16 Sep 2012 20:29:55.0395 (UTC) FILETIME=[08746930:01CD944A] Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org Signed-off-by: Gertjan van Wingerde Acked-by: Ivo van Doorn diff --git a/drivers/net/wireless/rt2x00/rt2800lib.c b/drivers/net/wireless/rt2x00/rt2800lib.c index 37f64ba..d745c32 100644 --- a/drivers/net/wireless/rt2x00/rt2800lib.c +++ b/drivers/net/wireless/rt2x00/rt2800lib.c @@ -3090,7 +3090,7 @@ static int rt2800_init_registers(struct rt2x00_dev *rt2x00dev) rt2800_register_write(rt2x00dev, TX_SW_CFG0, 0x00000400); rt2800_register_write(rt2x00dev, TX_SW_CFG1, 0x00080606); } else if (rt2x00_rt(rt2x00dev, RT5390) || - rt2x00_rt(rt2x00dev, RT5392)) { + rt2x00_rt(rt2x00dev, RT5392)) { rt2800_register_write(rt2x00dev, TX_SW_CFG0, 0x00000404); rt2800_register_write(rt2x00dev, TX_SW_CFG1, 0x00080606); rt2800_register_write(rt2x00dev, TX_SW_CFG2, 0x00000000);