From patchwork Thu Jul 9 16:01:25 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Malcolm Priestley X-Patchwork-Id: 6757211 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 25C819F38C for ; Thu, 9 Jul 2015 16:01:50 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 466122052D for ; Thu, 9 Jul 2015 16:01:49 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 726402053B for ; Thu, 9 Jul 2015 16:01:48 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753399AbbGIQBp (ORCPT ); Thu, 9 Jul 2015 12:01:45 -0400 Received: from mail-wi0-f182.google.com ([209.85.212.182]:33652 "EHLO mail-wi0-f182.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753319AbbGIQBm (ORCPT ); Thu, 9 Jul 2015 12:01:42 -0400 Received: by wiwl6 with SMTP id l6so23092011wiw.0 for ; Thu, 09 Jul 2015 09:01:41 -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=HF5GIvIesD4emS7Uw68o1V+42csD0ePv8AYXwXpjecY=; b=tI5N8gqXdNPWEQLR691dGTaAbqeaTy4ejxwA9AzZxc7X76rzrtP/GWDzIFq0bAITpO HlO7Yy4z5NzLHL6xRyQLnONmPF3/OfiXdjjMfs4CsnJ7W0+XGPcYMkkt6etLBdAIH6nO db76dcminesLIaTSDD5VEKr30Yufez7hJ9PbovrtLMz1Pd7r52w726l4D9TfZVSAcLuY F2e6SFwidEsi7lxo48pXfL0PYTG4I2LHeFlap05KQ9VUavshWQhWzAHAcO8wGvubG/Nc XrdTTFCR1S9YK8hq31Qu9vZQU+YN7YHUIjzRt6toe9d7W+zDwbnS2ZfmlsYBrIpeS4cw ps4Q== X-Received: by 10.180.96.170 with SMTP id dt10mr125363649wib.42.1436457701399; Thu, 09 Jul 2015 09:01:41 -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.39 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 09 Jul 2015 09:01:40 -0700 (PDT) From: Malcolm Priestley To: gregkh@linuxfoundation.org Cc: linux-wireless@vger.kernel.org, Malcolm Priestley Subject: [PATCH 2/4 v2] staging: vt6655: Fix missing power saving support Date: Thu, 9 Jul 2015 17:01:25 +0100 Message-Id: <1436457687-3113-2-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 Add IEEE80211_HW_SUPPORTS_PS to ieee80211_hw flags enabling this feature. Signed-off-by: Malcolm Priestley --- v2 rebased for 4.2 drivers/staging/vt6655/device_main.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/staging/vt6655/device_main.c b/drivers/staging/vt6655/device_main.c index b0c8e23..e78bd5e 100644 --- a/drivers/staging/vt6655/device_main.c +++ b/drivers/staging/vt6655/device_main.c @@ -1811,6 +1811,7 @@ vt6655_probe(struct pci_dev *pcid, const struct pci_device_id *ent) ieee80211_hw_set(priv->hw, SIGNAL_DBM); ieee80211_hw_set(priv->hw, RX_INCLUDES_FCS); ieee80211_hw_set(priv->hw, REPORTS_TX_ACK_STATUS); + ieee80211_hw_set(priv->hw, SUPPORTS_PS); priv->hw->max_signal = 100;