From patchwork Tue Nov 13 17:28:16 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxim Mikityanskiy X-Patchwork-Id: 1735771 Return-Path: X-Original-To: patchwork-linux-wireless@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork2.kernel.org (Postfix) with ESMTP id 559E0DF280 for ; Tue, 13 Nov 2012 17:29:15 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755421Ab2KMR3K (ORCPT ); Tue, 13 Nov 2012 12:29:10 -0500 Received: from mail-ee0-f46.google.com ([74.125.83.46]:36456 "EHLO mail-ee0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751721Ab2KMR3H (ORCPT ); Tue, 13 Nov 2012 12:29:07 -0500 Received: by mail-ee0-f46.google.com with SMTP id b15so4133294eek.19 for ; Tue, 13 Nov 2012 09:29:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references; bh=KPtXUViaU9It79hZLC1gtUh887Hbwbolb/bdrAiLF7M=; b=0DXWFJrN/9K/Pc+u1wJM4VAw5CyBhHOQhu70k2l6f5NGIMCvXyMGmwdXZuA8grSjhi up4RzK469xFBe83pjvX7HRex6OC6ZWfj12SVROI3jG/I1SPiwkCFsb5xbAgDDUeyJPJh UIOLBFhlLYDqCDlqmaNOff2xEpW/14jSLDQGzYJqUViuLWhCNXdaA/xTl3ujLSelQA42 waghDEdAnwt79Fb415FK7sXBXTTYubnVIg67hrJNIFwYK0+4dreayxQSGjNB22Bjx9tH vJ5OB8Oe596hmdR2NNQxzAuRWecaxWNzzr1nfYCSegSSWGgnpwTlYcs9NC4s5IkL9jqm I1KQ== Received: by 10.14.215.197 with SMTP id e45mr14837675eep.0.1352827746997; Tue, 13 Nov 2012 09:29:06 -0800 (PST) Received: from laptop.olymp.linuxd.org (78-22-179-94.pool.ukrtel.net. [94.179.22.78]) by mx.google.com with ESMTPS id 42sm23845800eee.0.2012.11.13.09.29.05 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 13 Nov 2012 09:29:06 -0800 (PST) From: Maxim Mikityanskiy To: greg@kroah.com, Larry.Finger@lwfinger.net, linux-wireless@vger.kernel.org Cc: Maxim Mikityanskiy Subject: [PATCH 10/17] staging: rtl8187se: Fixed typo in TransmitConfig Date: Tue, 13 Nov 2012 19:28:16 +0200 Message-Id: <1352827703-4659-11-git-send-email-maxtram95@gmail.com> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <1352827703-4659-1-git-send-email-maxtram95@gmail.com> References: <1352827703-4659-1-git-send-email-maxtram95@gmail.com> Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org Fixed typo in TransmitConfig and removed always false condition Signed-off-by: Maxim Mikityanskiy --- drivers/staging/rtl8187se/r8180_core.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/staging/rtl8187se/r8180_core.c b/drivers/staging/rtl8187se/r8180_core.c index be2344d..642508e 100644 --- a/drivers/staging/rtl8187se/r8180_core.c +++ b/drivers/staging/rtl8187se/r8180_core.c @@ -2581,11 +2581,10 @@ short rtl8180_init(struct net_device *dev) priv->CSMethod = (0x01 << 29); - priv->TransmitConfig = TCR_DurProcMode_OFFSET | + priv->TransmitConfig = (1<ShortRetryLimit<LongRetryLimit<LongRetryLimit<ReceiveConfig = RCR_AMF | RCR_ADF | RCR_ACF | RCR_AB | RCR_AM | RCR_APM |