From patchwork Sat Mar 7 16:36:37 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Malcolm Priestley X-Patchwork-Id: 5959671 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 2CA839F380 for ; Sat, 7 Mar 2015 16:37:22 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 6A130203A5 for ; Sat, 7 Mar 2015 16:37:21 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 9AEC4202B4 for ; Sat, 7 Mar 2015 16:37:20 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751345AbbCGQhS (ORCPT ); Sat, 7 Mar 2015 11:37:18 -0500 Received: from mail-wg0-f43.google.com ([74.125.82.43]:44812 "EHLO mail-wg0-f43.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750735AbbCGQhQ (ORCPT ); Sat, 7 Mar 2015 11:37:16 -0500 Received: by wghl18 with SMTP id l18so11939486wgh.11; Sat, 07 Mar 2015 08:37:14 -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=CS+eZWhqW4bbcScIBloRzNZgESc+zTALu7ArTqp9cmM=; b=i4UdZTOPZ1HL6iM0eymRiHPaI7m5Vld4+UoF+5mXjPqcXa2u2KLT7Jdq1SkCVrZvl1 njuOrh2/dEzioTcr0X4KW7PKvUJ70YzlrlgDNWIxFVMEsU1Cd+KVemAC5LNJYDKPex7f 9itYlvuGHRRv2YxMPozHmS2vU0bzmpFxtXUvOjYIA1B2fg40WcsVcmV3GmbUHJvQrAHX ypFOFXTYPtrNTdO7z1ddirkPifq/b3iwCPDgnCQD+hVyAv9Q3HZUAxx0dR9PVBRNHSg2 KCcYdmLVodRi90iJui5dkn0ufLr6j7OJ+aPtGDDuYD3DaHOEUkXn+xQejyKKb6mnbKBn BkIg== X-Received: by 10.181.12.5 with SMTP id em5mr44574323wid.84.1425746234790; Sat, 07 Mar 2015 08:37:14 -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 gz3sm7314903wib.1.2015.03.07.08.37.09 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sat, 07 Mar 2015 08:37:13 -0800 (PST) From: Malcolm Priestley To: gregkh@linuxfoundation.org Cc: linux-wireless@vger.kernel.org, Malcolm Priestley , Subject: [PATCH] staging: vt6656: vnt_rf_setpower: fix missing rate RATE_12M Date: Sat, 7 Mar 2015 16:36:37 +0000 Message-Id: <1425746197-6614-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: # v3.17+ --- drivers/staging/vt6656/rf.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/staging/vt6656/rf.c b/drivers/staging/vt6656/rf.c index c42cde5..c4286cc 100644 --- a/drivers/staging/vt6656/rf.c +++ b/drivers/staging/vt6656/rf.c @@ -640,6 +640,7 @@ int vnt_rf_setpower(struct vnt_private *priv, u32 rate, u32 channel) break; case RATE_6M: case RATE_9M: + case RATE_12M: case RATE_18M: case RATE_24M: case RATE_36M: