From patchwork Mon Mar 4 21:59:38 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Larry Finger X-Patchwork-Id: 10838675 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 1193317E9 for ; Mon, 4 Mar 2019 21:59:50 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E90F32B622 for ; Mon, 4 Mar 2019 21:59:49 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id DD09B2B75C; Mon, 4 Mar 2019 21:59:49 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.7 required=2.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 503C92B622 for ; Mon, 4 Mar 2019 21:59:48 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726069AbfCDV7r (ORCPT ); Mon, 4 Mar 2019 16:59:47 -0500 Received: from mail-ot1-f68.google.com ([209.85.210.68]:35275 "EHLO mail-ot1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726038AbfCDV7r (ORCPT ); Mon, 4 Mar 2019 16:59:47 -0500 Received: by mail-ot1-f68.google.com with SMTP id z19so5624402otm.2 for ; Mon, 04 Mar 2019 13:59:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=g8gWUCjj3dTVmremvd9LrRPXxxoTmyeREfFq05iZY9I=; b=l+F9NWI8KW5N6MRBgz2Sv67mQqeGrQLd6gkLUJGRHcjR6djkWVmmCk9dDr9zCv0FiX xCDT2bQA18ffO59GTMbc3bVpUy+D12wwBvBnvdCfoHySKLjGTR5i5WZa66BVl9RCVVDn x4Gt21jqWEV5/h3T0pOtKVtZZ59NeVDYAl+9IA+v9icn1ihlL+aufIAhhvYvq4H3Hrzf xYh50RUqyMxmiC7F/uCico9SO+7/dXKboOMv5/mI8l7RMctzHGUhCB/FQgTD7PE11BtH hEO38VmrfiVlvrQFZzkQhIdVYJrEGhWx333NGRApupjQZ25veyY8k+56WxPoah+TeUbu 8yNA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :mime-version:content-transfer-encoding; bh=g8gWUCjj3dTVmremvd9LrRPXxxoTmyeREfFq05iZY9I=; b=G9+pq6gS9FSp4boUATiX8giC/aAQrjcP8qpw+cOpgzU7h8kQ1qSXKrI2NVNhE8xNLf lK6QqO+hDbntdqGRf6dGVAEzttrte6AhWv2rDWlBMiSu8F+1wpTYNUOLb1ParI45EKZj YytvZAF+CYzSlCTcyxyMECPgA7g97kLukiHIiGtFFwxocCoSUD4MSq+r6J1p3vdY4sOQ ojnHEwrNCbYrk+opVlKIWmV4+QCbhgvmusSFVIA/Q851H1LYGwwtoZf3ht4e05462T85 ZuZ9mbH7ogl9RU6lCwhPE/Bvrmf5fNpvKMyuCMAOo0eyd7psBeqjLim6rJtT81DT6Wj6 XFKw== X-Gm-Message-State: APjAAAVaS3WU69Ol8WHuDGGjeIfCgVfkgepBj7cER1vQp0kheYYf4Li7 XdezoiQ5on7HVooGyNFo4Vc= X-Google-Smtp-Source: APXvYqziqcz5bsfwroAFZ+F4EMhGlH07HGYoatwpi3/9R2oxKxecn1opSNLa1SBXPn+5x0CaEO3Sbw== X-Received: by 2002:a9d:6496:: with SMTP id g22mr13433867otl.47.1551736786604; Mon, 04 Mar 2019 13:59:46 -0800 (PST) Received: from localhost.localdomain (cpe-24-31-245-230.kc.res.rr.com. [24.31.245.230]) by smtp.gmail.com with ESMTPSA id e125sm2923744oia.18.2019.03.04.13.59.44 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 04 Mar 2019 13:59:44 -0800 (PST) From: Larry Finger To: kvalo@codeaurora.org Cc: linux-wireless@vger.kernel.org, pkshih@realtek.com, Larry Finger Subject: [PATCH 0/2] Modify the handling of the reason for a wakeup Date: Mon, 4 Mar 2019 15:59:38 -0600 Message-Id: <20190304215940.2608-1-Larry.Finger@lwfinger.net> X-Mailer: git-send-email 2.21.0 MIME-Version: 1.0 Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Some of the drivers test the wrong bit in an RX descriptor. That is fixed. In a second patch, that variable is moved out of a struct and made local to the routine that uses it. Signed-off-by: Larry Finger --- Larry Finger (2): rtlwifi: Fix duplicate tests of one of the RX descriptors rtlwifi: Convert the wake_match variable to local .../net/wireless/realtek/rtlwifi/rtl8188ee/trx.c | 15 ++++++++------- .../net/wireless/realtek/rtlwifi/rtl8192ee/trx.c | 15 ++++++++------- .../net/wireless/realtek/rtlwifi/rtl8723be/trx.c | 16 ++++++++-------- .../net/wireless/realtek/rtlwifi/rtl8821ae/trx.c | 14 +++++++------- drivers/net/wireless/realtek/rtlwifi/wifi.h | 1 - 5 files changed, 31 insertions(+), 30 deletions(-)