Received: by 2002:a05:6358:111d:b0:dc:6189:e246 with SMTP id f29csp1282468rwi; Mon, 31 Oct 2022 14:11:22 -0700 (PDT) X-Google-Smtp-Source: AMsMyM66g3Dt/J3FfdpiwMQ12g2qYtwD+AeF5BCTg/ShqCKKfgUHZFUYm/osd7Ztcob/JlVXdudx X-Received: by 2002:a17:907:6e9e:b0:78c:5533:4158 with SMTP id sh30-20020a1709076e9e00b0078c55334158mr14057030ejc.417.1667250568236; Mon, 31 Oct 2022 14:09:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1667250568; cv=none; d=google.com; s=arc-20160816; b=tdxjvkwC1Cigf/PtRdm+rFlDQb1/aHAToOsZAXJnetPNJZKjwlEglu1bZaRZfM3Xrm WQxy8C4g1vp9M5Bnxv0kiVVwvMA0C4ESP04+fHD69yMOFB76pmEkdlkP01qkpW5AfTqj Xv2iCo/b/xdbSaYmTKSfQaSoRZcnU3b3toKsVFEhzsAXxBqFr1Gx5lKFT5O3dYcLdX5n ncnX1+iWuG76kauyp5zbxoqxUnV1bRT4PGf4TMRTpUDt9TleKI5yYjqTy1BARLQz1y1U 7IxkVB7bTcRSctz/qzry1eAdf5MCUXXeqTHo3hyowTyQQBvYRk4nWELMPO5ckRekbei1 TDLw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=c0LSCrQPgXIBrJgK5hfU4xeEIysf4FBSfhIFpAhh68c=; b=L4GmCNTcHpw8df8d1EmHK0aREySJDilBMSux1N1ZbdfQGAUOTAoXxEIAI8rcp/OxwI wBQFZHQpyRxnasuse+BpkwxpEc7sWm9z2Jw9UNTPDMQN/WSYEpvhJutdnI8pnBbK9X6Y /VDj8jPBdRKwATX1j1Ghr/tz1z9VeJYyErAytI5MrOQAANyY7XuIpI4JAUwzf34HzDYD jDYnG6txvwVNHELnTr5lU4lKRAlrj/s4WkXbpkDUR0IlLMvmr6VxKqOv/fn8Q5fHDpKB gwJ5PaB/dnVb3YG0B1cqZaV8cbS5vNQIF+OQEMFj4cjhh40SirkatVJD6s1rO8xZ4VPt 98WA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id e10-20020a17090658ca00b007a7d37e4684si9547313ejs.803.2022.10.31.14.08.54; Mon, 31 Oct 2022 14:09:28 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230193AbiJaUzR (ORCPT + 98 others); Mon, 31 Oct 2022 16:55:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41062 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230162AbiJaUzA (ORCPT ); Mon, 31 Oct 2022 16:55:00 -0400 Received: from viti.kaiser.cx (viti.kaiser.cx [IPv6:2a01:238:43fe:e600:cd0c:bd4a:7a3:8e9f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B872C12762 for ; Mon, 31 Oct 2022 13:54:59 -0700 (PDT) Received: from dslb-084-059-234-234.084.059.pools.vodafone-ip.de ([84.59.234.234] helo=martin-debian-2.paytec.ch) by viti.kaiser.cx with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.89) (envelope-from ) id 1opbo8-0006z9-8f; Mon, 31 Oct 2022 21:54:56 +0100 From: Martin Kaiser To: Greg Kroah-Hartman Cc: Larry Finger , Phillip Potter , Michael Straube , Pavel Skripkin , linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org, Martin Kaiser Subject: [PATCH 3/3] staging: r8188eu: use ieee80211_get_SA Date: Mon, 31 Oct 2022 21:54:12 +0100 Message-Id: <20221031205412.124871-4-martin@kaiser.cx> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20221031205412.124871-1-martin@kaiser.cx> References: <20221031205412.124871-1-martin@kaiser.cx> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_NONE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Use ieee80211_get_SA in update_recvframe_phyinfo_88e instead of the driver-specific get_sa function. Signed-off-by: Martin Kaiser --- drivers/staging/r8188eu/hal/rtl8188e_rxdesc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/r8188eu/hal/rtl8188e_rxdesc.c b/drivers/staging/r8188eu/hal/rtl8188e_rxdesc.c index 4e9d8c8285c4..9a61eef8550b 100644 --- a/drivers/staging/r8188eu/hal/rtl8188e_rxdesc.c +++ b/drivers/staging/r8188eu/hal/rtl8188e_rxdesc.c @@ -135,7 +135,7 @@ void update_recvframe_phyinfo_88e(struct recv_frame *precvframe, struct phy_stat sa = padapter->mlmepriv.cur_network.network.MacAddress; /* to do Ad-hoc */ } else { - sa = get_sa(wlanhdr); + sa = ieee80211_get_SA(hdr); } pstapriv = &padapter->stapriv; -- 2.30.2