From patchwork Sun Jun 21 10:05: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: 6652411 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 0381F9F1C1 for ; Sun, 21 Jun 2015 10:06:26 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 5274F20675 for ; Sun, 21 Jun 2015 10:06:25 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id A3F04205BC for ; Sun, 21 Jun 2015 10:06:24 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752602AbbFUKGX (ORCPT ); Sun, 21 Jun 2015 06:06:23 -0400 Received: from mail-wi0-f176.google.com ([209.85.212.176]:35019 "EHLO mail-wi0-f176.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752328AbbFUKGV (ORCPT ); Sun, 21 Jun 2015 06:06:21 -0400 Received: by wiga1 with SMTP id a1so52553915wig.0 for ; Sun, 21 Jun 2015 03:06:20 -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=JXFIr3sWd8XKTdIc32KvZWyvzTrSIj+ZLTWqluUNE7Q=; b=vrpUUbGFj14N2hFyHYppTr75GmiWv7BhYOQRAu6HI+EfowJ+ZMSkpShidIb/mR1U9e R+Nvj1VDWCrtj7te1MzmbnagZhRhkhttku54Ebqa6L3GRkj+DUDNpqL7i9siI08j64g9 9DZOpZD4jRK1fAwPoghioneSO45yywJfXmQuqIetbsFRGS+lwB6U0dxR7i7EM1BG2A9B b87Lolv7svkgH29EJIIHDnpNO8p4hzk/kI6dxBIuTSSU1NpKXMEVCxiuKpJNOHh6Z5Wu p3PKxmiSQ9GkkvfJ296FKIyTLq4N3WSYLZ/h7T9j7mAOfw45aLSBB2DfNlmm9wGSx39I LT4g== X-Received: by 10.194.112.3 with SMTP id im3mr11741327wjb.54.1434881180431; Sun, 21 Jun 2015 03:06:20 -0700 (PDT) Received: from tipsey.3.home (188.30.133.23.threembb.co.uk. [188.30.133.23]) by mx.google.com with ESMTPSA id p2sm9141898wix.11.2015.06.21.03.06.18 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 21 Jun 2015 03:06:19 -0700 (PDT) From: Malcolm Priestley To: gregkh@linuxfoundation.org Cc: linux-wireless@vger.kernel.org, Malcolm Priestley Subject: [PATCH 2/3] staging: vt6655: vnt_tx_packet don't wakeup from power saving. Date: Sun, 21 Jun 2015 11:05:54 +0100 Message-Id: <1434881155-3464-2-git-send-email-tvboxspy@gmail.com> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1434881155-3464-1-git-send-email-tvboxspy@gmail.com> References: <1434881155-3464-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=-8.2 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 b1357af..c421f78 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;