From patchwork Sat Mar 7 17:04:54 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Malcolm Priestley X-Patchwork-Id: 5959801 X-Patchwork-Delegate: kvalo@adurom.com Return-Path: X-Original-To: patchwork-linux-wireless@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 868AFBF440 for ; Sat, 7 Mar 2015 17:05:37 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id C3E7C202FF for ; Sat, 7 Mar 2015 17:05:36 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 07DC5202F0 for ; Sat, 7 Mar 2015 17:05:36 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752112AbbCGRFe (ORCPT ); Sat, 7 Mar 2015 12:05:34 -0500 Received: from mail-wg0-f47.google.com ([74.125.82.47]:35434 "EHLO mail-wg0-f47.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751276AbbCGRFa (ORCPT ); Sat, 7 Mar 2015 12:05:30 -0500 Received: by wggy19 with SMTP id y19so2253144wgg.2; Sat, 07 Mar 2015 09:05:29 -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; bh=PyVlaDzByuuhY+e1IzfO5xHz39jZXfh6lf8tkvIVG+c=; b=nQxJLQ1yoOqp+sZI8iy+Fbmba96/zyonsurlGaxpiojpjRjHB5Qt65rbnc93aaPR9x /84AvGFP7GnI8cxrhiBWboZXgCB/gosEL27G+k3cPh4F+OgqPWjSErtwrES/NQ30HZ07 XnzMGnSO/Ud31eF09lEdNyziv1W7x+CJMqr7PsGjTZyKAo02bLTHhZpfhVs9L5gky5Ya vKq9vyUcL72bUBVoCrF2YxsAhpQHAJz7oBVYhXhaqcQXQ217Zz3E7a3tnP57l1YECEBI wV4HDrMcL6YuvFddp4ClYTSLBvkp+knEAXNCR3XEaIkZNYCWkFsjy0MAlJC3cV9D6Opm 0k2g== X-Received: by 10.180.88.41 with SMTP id bd9mr43305859wib.47.1425747929222; Sat, 07 Mar 2015 09:05:29 -0800 (PST) Received: from route-4.3.home (188.29.104.111.threembb.co.uk. [188.29.104.111]) by mx.google.com with ESMTPSA id dx11sm20088534wjb.23.2015.03.07.09.05.23 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sat, 07 Mar 2015 09:05:28 -0800 (PST) From: Malcolm Priestley To: gregkh@linuxfoundation.org Cc: linux-wireless@vger.kernel.org, Malcolm Priestley , Subject: [PATCH resend 1/3] vt6655: RFbSetPower fix missing rate RATE_12M Date: Sat, 7 Mar 2015 17:04:54 +0000 Message-Id: <1425747896-8353-1-git-send-email-tvboxspy@gmail.com> X-Mailer: git-send-email 2.1.4 Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org X-Spam-Status: No, score=-6.8 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, T_DKIM_INVALID, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP When the driver sets this rate a power of zero value is set causing data flow stoppage until another rate is tried. Signed-off-by: Malcolm Priestley Cc: --- drivers/staging/vt6655/rf.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/staging/vt6655/rf.c b/drivers/staging/vt6655/rf.c index 941b2ad..7626f63 100644 --- a/drivers/staging/vt6655/rf.c +++ b/drivers/staging/vt6655/rf.c @@ -794,6 +794,7 @@ bool RFbSetPower( break; case RATE_6M: case RATE_9M: + case RATE_12M: case RATE_18M: byPwr = priv->abyOFDMPwrTbl[uCH]; if (priv->byRFType == RF_UW2452)