Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp2606532pxk; Sun, 6 Sep 2020 06:45:28 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxfBXivTO+0UnLCESfXJ7GxCgBuKIM4809u/5qkrNVZz3MJFYFwswnOzuhseirsayN6NJ6A X-Received: by 2002:a05:6402:1109:: with SMTP id u9mr18012710edv.74.1599399927918; Sun, 06 Sep 2020 06:45:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1599399927; cv=none; d=google.com; s=arc-20160816; b=yei88cx6KjdU4Oi/F83ZGo/3NWAvCJvTxaoNvfAnqAtDTpvRgsabT3sDvLRHsujyTV xsJ22IK8jjCeyZcCw53UEjgfSqi7dyqYTVgcdd9Zab15shTmfMRhE5eRyJQBwZWJOtDj kiQv+0sxJkuAuyO8zdCeXiWDGuVo1Z0e47yupA38AIW68fVjoe0XBDSKG69dpO+CdRte W1YrCNkxU2Qur9c+8q1CGwF8WTSyXiKpWNgDAhaCCqOd7zb/MeP+51h1gQsOSmov5gyY clfz7zTuQR/Zwd0JlG2I8M7G8oxb1aebEf+5S/sR9wNjqL6AXSS4gub27D8gWdetN7dF Iw/w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=o9X2quCT3ijRZbfEg1lBDRxkIX0ndQZpXitZWRbnil4=; b=oABdtAbCIoTEZ7AEkZfaD7Hn/h7HWUWgDj0czmENqkv1Zsia/vhO3RUx2ZsQn7FPL/ EG6y2xjiK+x41fluwJqlCPaFM5bemKv5akUTQBdYtvvEIe3WTIBuQFXGMt3P/WOcRFjS szHguv2sfGyvqS/k5pqz9hio+aE+qsTVftWuUIkqaSKgK3W3XHXCJSFp3p6+5i4KsURQ VLuAOfap0eAEZELhZ1+fTh2AuJ/DV58WWRMovDnRf0xrXol68HwIEO2O9BvdurSKo5FQ dYk2DSXOSZhyykFkhrCZ+bD5Kxf1x4xSjqSwA4w84bdGZuc+xobEfl+7AE0vrYDjik+m Lxhw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="a3xN9/vE"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id b19si7642185eds.387.2020.09.06.06.45.04; Sun, 06 Sep 2020 06:45:27 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="a3xN9/vE"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728880AbgIFNgc (ORCPT + 99 others); Sun, 6 Sep 2020 09:36:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39524 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726501AbgIFN16 (ORCPT ); Sun, 6 Sep 2020 09:27:58 -0400 Received: from mail-lj1-x241.google.com (mail-lj1-x241.google.com [IPv6:2a00:1450:4864:20::241]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 58583C061573 for ; Sun, 6 Sep 2020 06:27:56 -0700 (PDT) Received: by mail-lj1-x241.google.com with SMTP id w3so13011138ljo.5 for ; Sun, 06 Sep 2020 06:27:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=o9X2quCT3ijRZbfEg1lBDRxkIX0ndQZpXitZWRbnil4=; b=a3xN9/vEhqSkTymr7qjQlPOQeFnCLASezuSHqkwv8HH1ND3Z3EpFQxbFbASRaNolJq kQBpsEKe32xsLDG1rPZzIYqgsh7pbpnjtCsa+8Yx/GvBfsUzX09rvaIsADacDbxH0u3J zMugpdzVAseTcZm+YKs1D86xsA2ynVvJjTFTRnMZPK9l+e01H+hWcH1o47qDsQamz4oM liGr32QxprkkXSbH15BezBZAbmtlizKcN3fiv7+IpAKipENAqri75fZYj+3u+MalZPgo PlmVBS34n0xmcr8vzQXFl6RByJVL0OicuyG0jfN1T2fwcV7wwMlDw+bNuhZz63PLdE7a UWIA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=o9X2quCT3ijRZbfEg1lBDRxkIX0ndQZpXitZWRbnil4=; b=bXPp6quWWmUHe8XoxPcGhFcP/fPFgjCaMYdxS3Unl4Hxu24KFyogixOMWy39G21UH4 I/dtB+j2FPP6OonaQuP+wgRKGxAuAljAq8o2TTh/2YBI7YWHKNEVs0rX9cvTBA18mjix u94j6kB/MwrJ25/3g3T0zeVbEGSRsK78NA8yg3SrIIbonDBsucgi1xt4RhErrdr1Tr13 yFWLd9vPu6/fhX+dZTenJlFP9QgN0iaRIcsYO/yJVeMD6AYgzxWOBDm3Difod5B1uZ5G 4EwCRH8WoqZCseb7v7dhChuDO1s9m/45xjhlyPE5NmOLcGMhsDIxycNuc7AreUQl97OS jisg== X-Gm-Message-State: AOAM533QtOiSjQK/zcCi+KklCcc4iTX+slqQK8GTnpEgN/jJeMwWxGpv TWej6wyvezYa9MWZx2RFzIAfVQMGd30= X-Received: by 2002:a2e:7c18:: with SMTP id x24mr8025546ljc.402.1599398874492; Sun, 06 Sep 2020 06:27:54 -0700 (PDT) Received: from alpha (10.177.smarthome.spb.ru. [109.71.177.10]) by smtp.gmail.com with ESMTPSA id k10sm4219247lja.112.2020.09.06.06.27.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 06 Sep 2020 06:27:53 -0700 (PDT) Received: (nullmailer pid 556475 invoked by uid 1000); Sun, 06 Sep 2020 13:33:01 -0000 From: Ivan Safonov To: Larry Finger Cc: Greg Kroah-Hartman , Michael Straube , Peilin Ye , devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org, Ivan Safonov Subject: [PATCH] staging: r8188eu: replace enum rtw_ieee80211_spectrum_mgmt_actioncode with ieee80211_spectrum_mgmt_actioncode Date: Sun, 6 Sep 2020 16:32:37 +0300 Message-Id: <20200906133236.556427-1-insafonov@gmail.com> X-Mailer: git-send-email 2.26.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Enum rtw_ieee80211_spectrum_mgmt_actioncode is a duplication of ieee80211_spectrum_mgmt_actioncode from include/linux/ieee80211.h. Signed-off-by: Ivan Safonov --- drivers/staging/rtl8188eu/core/rtw_mlme_ext.c | 10 +++++----- drivers/staging/rtl8188eu/include/ieee80211.h | 10 ---------- 2 files changed, 5 insertions(+), 15 deletions(-) diff --git a/drivers/staging/rtl8188eu/core/rtw_mlme_ext.c b/drivers/staging/rtl8188eu/core/rtw_mlme_ext.c index 98b1ba2e489f..0eaf81e83ddc 100644 --- a/drivers/staging/rtl8188eu/core/rtw_mlme_ext.c +++ b/drivers/staging/rtl8188eu/core/rtw_mlme_ext.c @@ -3546,12 +3546,12 @@ static unsigned int on_action_spct(struct adapter *padapter, action = frame_body[1]; switch (action) { - case RTW_WLAN_ACTION_SPCT_MSR_REQ: - case RTW_WLAN_ACTION_SPCT_MSR_RPRT: - case RTW_WLAN_ACTION_SPCT_TPC_REQ: - case RTW_WLAN_ACTION_SPCT_TPC_RPRT: + case WLAN_ACTION_SPCT_MSR_REQ: + case WLAN_ACTION_SPCT_MSR_RPRT: + case WLAN_ACTION_SPCT_TPC_REQ: + case WLAN_ACTION_SPCT_TPC_RPRT: break; - case RTW_WLAN_ACTION_SPCT_CHL_SWITCH: + case WLAN_ACTION_SPCT_CHL_SWITCH: break; default: break; diff --git a/drivers/staging/rtl8188eu/include/ieee80211.h b/drivers/staging/rtl8188eu/include/ieee80211.h index 83218e7ec0a9..cb6940d2aeab 100644 --- a/drivers/staging/rtl8188eu/include/ieee80211.h +++ b/drivers/staging/rtl8188eu/include/ieee80211.h @@ -526,16 +526,6 @@ enum rtw_ieee80211_category { RTW_WLAN_CATEGORY_P2P = 0x7f,/* P2P action frames */ }; -/* SPECTRUM_MGMT action code */ -enum rtw_ieee80211_spectrum_mgmt_actioncode { - RTW_WLAN_ACTION_SPCT_MSR_REQ = 0, - RTW_WLAN_ACTION_SPCT_MSR_RPRT = 1, - RTW_WLAN_ACTION_SPCT_TPC_REQ = 2, - RTW_WLAN_ACTION_SPCT_TPC_RPRT = 3, - RTW_WLAN_ACTION_SPCT_CHL_SWITCH = 4, - RTW_WLAN_ACTION_SPCT_EXT_CHL_SWITCH = 5, -}; - enum _PUBLIC_ACTION { ACT_PUBLIC_BSSCOEXIST = 0, /* 20/40 BSS Coexistence */ ACT_PUBLIC_DSE_ENABLE = 1, -- 2.26.2