From patchwork Sun Feb 22 21:24:11 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Malcolm Priestley X-Patchwork-Id: 5862571 X-Patchwork-Delegate: kvalo@adurom.com Return-Path: X-Original-To: patchwork-linux-wireless@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id EC7529F37F for ; Sun, 22 Feb 2015 21:24:52 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 335C9205B1 for ; Sun, 22 Feb 2015 21:24:52 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 53B1C20591 for ; Sun, 22 Feb 2015 21:24:51 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752147AbbBVVYu (ORCPT ); Sun, 22 Feb 2015 16:24:50 -0500 Received: from mail-wg0-f51.google.com ([74.125.82.51]:32898 "EHLO mail-wg0-f51.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752021AbbBVVYt (ORCPT ); Sun, 22 Feb 2015 16:24:49 -0500 Received: by mail-wg0-f51.google.com with SMTP id y19so22259746wgg.10; Sun, 22 Feb 2015 13:24:47 -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=e4+11VJpzQWD77I1UOipdK3h0sxD9mVHrJQlZ2JwUL4=; b=09dgxGeSKUqgphoHT09UHx5Tei0t/Fu2kX5/fEu7f2WhO8qEcDfb0u6PBA5frmcUjO fmwaQ87Vnvxs8NKBg9eWAGwjT8ge+sjMFMI/3z7B2TYZb3miVhN3TUfNKfvQPgVSF9e2 vSiVqkKFzJayv9aOzblqMa6ig4KL0659rW8RJOu0jB1drQmzBmL03PavsUg9r62PdlTz CWq9zRYmPQcY+re1DdWI2Hs++lwmcIEO6FVF8PZExoSa1uB2v/EZWKdwVDiReS65bGNb zQilUx0fBViDMfYDhppxQQ9QHrrp44ByqSkFJtRym15IPLiwVsCqwBrwJNxverLm1AyV g4HA== X-Received: by 10.194.205.228 with SMTP id lj4mr15735707wjc.77.1424640287731; Sun, 22 Feb 2015 13:24:47 -0800 (PST) Received: from tipsey.3.home (188.29.99.93.threembb.co.uk. [188.29.99.93]) by mx.google.com with ESMTPSA id fo9sm13012049wib.16.2015.02.22.13.24.41 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 22 Feb 2015 13:24:46 -0800 (PST) From: Malcolm Priestley To: gregkh@linuxfoundation.org Cc: linux-wireless@vger.kernel.org, devel@linuxdriverproject.org, Malcolm Priestley , Subject: [PATCH 1/2 fix for 3.20] vt6655: RFbSetPower fix missing rate RATE_12M Date: Sun, 22 Feb 2015 21:24:11 +0000 Message-Id: <1424640252-3202-1-git-send-email-tvboxspy@gmail.com> X-Mailer: git-send-email 2.1.0 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)