From patchwork Sun Jun 21 10:05:53 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Malcolm Priestley X-Patchwork-Id: 6652401 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 068DA9F1C1 for ; Sun, 21 Jun 2015 10:06:24 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 5610220678 for ; Sun, 21 Jun 2015 10:06:23 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id A755120675 for ; Sun, 21 Jun 2015 10:06:22 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752542AbbFUKGV (ORCPT ); Sun, 21 Jun 2015 06:06:21 -0400 Received: from mail-wi0-f178.google.com ([209.85.212.178]:38337 "EHLO mail-wi0-f178.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752610AbbFUKGT (ORCPT ); Sun, 21 Jun 2015 06:06:19 -0400 Received: by wibdq8 with SMTP id dq8so51126893wib.1 for ; Sun, 21 Jun 2015 03:06:18 -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; bh=GAUWpU1WEp/mibL8HX/KD3EZqF4imqhIWT+pUKj8zPw=; b=Be+QdOg5UHetF43wTcyao1siSHQrWz2RhNXsFpXb/EPjzwgmae0iEpiGsTaaK9WV3w RIVdQ4ZOzVLsHBHWpvXj9+tdbJ2MTr3JvNqqarFHmp8oI4gRv6sBTfY1PW/aL9cEjTlT F8MuFI22zJP6DvcAzfuWZ8K8aCWkJAwcK7k8O6HHd98WtVilo0XX743+0JOHJIXnfpEg uawLDiEM/wxTxfDrM78WwlDYkGJLGIiqp8/P+PfQNtGISTHas1X9c+hRRiqc5KSj7bpP EUr+KhYy6eq/EJ+LITSB1Wullg/13508S95AMKokXihk5E5vnOQXlNeykx4RfGNPRPIC c8Ew== X-Received: by 10.194.189.80 with SMTP id gg16mr31928831wjc.9.1434881178748; Sun, 21 Jun 2015 03:06:18 -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.16 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 21 Jun 2015 03:06:17 -0700 (PDT) From: Malcolm Priestley To: gregkh@linuxfoundation.org Cc: linux-wireless@vger.kernel.org, Malcolm Priestley Subject: [PATCH 1/3] staging: vt6655: Fix missing power saving support Date: Sun, 21 Jun 2015 11:05:53 +0100 Message-Id: <1434881155-3464-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=-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 Add IEEE80211_HW_SUPPORTS_PS to ieee80211_hw flags enabling this feature. Signed-off-by: Malcolm Priestley --- drivers/staging/vt6655/device_main.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/staging/vt6655/device_main.c b/drivers/staging/vt6655/device_main.c index 0bfc939..b1357af 100644 --- a/drivers/staging/vt6655/device_main.c +++ b/drivers/staging/vt6655/device_main.c @@ -1819,7 +1819,8 @@ vt6655_probe(struct pci_dev *pcid, const struct pci_device_id *ent) priv->hw->flags = IEEE80211_HW_RX_INCLUDES_FCS | IEEE80211_HW_REPORTS_TX_ACK_STATUS | IEEE80211_HW_SIGNAL_DBM | - IEEE80211_HW_TIMING_BEACON_ONLY; + IEEE80211_HW_TIMING_BEACON_ONLY | + IEEE80211_HW_SUPPORTS_PS; priv->hw->max_signal = 100;