From patchwork Thu Jul 9 16:01:26 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Malcolm Priestley X-Patchwork-Id: 6757221 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 D925E9F38C for ; Thu, 9 Jul 2015 16:01:54 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id E6F422052D for ; Thu, 9 Jul 2015 16:01:53 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 48B96206C0 for ; Thu, 9 Jul 2015 16:01:49 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753380AbbGIQBq (ORCPT ); Thu, 9 Jul 2015 12:01:46 -0400 Received: from mail-wi0-f179.google.com ([209.85.212.179]:34073 "EHLO mail-wi0-f179.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753296AbbGIQBn (ORCPT ); Thu, 9 Jul 2015 12:01:43 -0400 Received: by wifm2 with SMTP id m2so23076816wif.1 for ; Thu, 09 Jul 2015 09:01:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=aPy3oBjFkEUJaLQZwndjM2HZyutUpfySspfbr3m+20M=; b=o3eDofb9tcTwj8eOaSpM7t8f4s3f6o2n03PHSEDs8MnOYGKqCTULVSaONYLQHB/vhL 8xaLzRENKRBh8mBxeMQhcv0EpDD6TGV2l3WrWZxhiBSYG3VECBXHjjVqSVzTsKoThEBR WBxgvsiE7m0BbBblzK3utlbDPjkJs5OxiaXaAazDgvyarLPbu7CoYS3sdGStC1oTAgVw 1Yfee89i/nhv2+swkakAiSL46sQncIOthjzwp3Zx0QGqAmrg1zxBEUtg1zKOOFZZh6pz l0IQYWb/3IZxcxSi/87TUQD8i88mx8XQF9GHicQMbp3EOgAdeocsm7i+jFVl8hG9KpY4 mNdw== X-Received: by 10.180.20.12 with SMTP id j12mr123578396wie.4.1436457702854; Thu, 09 Jul 2015 09:01:42 -0700 (PDT) Received: from tipsey.3.home (188.31.121.40.threembb.co.uk. [188.31.121.40]) by smtp.gmail.com with ESMTPSA id m4sm9478511wjb.37.2015.07.09.09.01.41 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 09 Jul 2015 09:01:42 -0700 (PDT) From: Malcolm Priestley To: gregkh@linuxfoundation.org Cc: linux-wireless@vger.kernel.org, Malcolm Priestley Subject: [PATCH 3/4] staging: vt6655: vnt_tx_packet don't wakeup from power saving. Date: Thu, 9 Jul 2015 17:01:26 +0100 Message-Id: <1436457687-3113-3-git-send-email-tvboxspy@gmail.com> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1436457687-3113-1-git-send-email-tvboxspy@gmail.com> References: <1436457687-3113-1-git-send-email-tvboxspy@gmail.com> Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, T_DKIM_INVALID, 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 mac80211 changes the wake state before attempting to tx data Signed-off-by: Malcolm Priestley --- drivers/staging/vt6655/device_main.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/staging/vt6655/device_main.c b/drivers/staging/vt6655/device_main.c index e78bd5e..c245dea 100644 --- a/drivers/staging/vt6655/device_main.c +++ b/drivers/staging/vt6655/device_main.c @@ -1211,9 +1211,6 @@ static int vnt_tx_packet(struct vnt_private *priv, struct sk_buff *skb) vnt_generate_fifo_header(priv, dma_idx, head_td, skb); - if (MACbIsRegBitsOn(priv->PortOffset, MAC_REG_PSCTL, PSCTL_PS)) - MACbPSWakeup(priv->PortOffset); - spin_lock_irqsave(&priv->lock, flags); priv->bPWBitOn = false;