Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp2242105pxv; Sat, 17 Jul 2021 07:59:13 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwK6lXbgKGuYm2xZAzbjFnPjIjM9XH97tes0cpJo1H11aIG+Hj3ZTjY0lTOEHdDDEUSFk8d X-Received: by 2002:a17:907:7256:: with SMTP id ds22mr17493437ejc.363.1626533952903; Sat, 17 Jul 2021 07:59:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1626533952; cv=none; d=google.com; s=arc-20160816; b=yESwXLO2Qi0MxqF0bYDumSrJAnUSYT+EfJHfxfyBrXvTDA61MdseK71Us245Xrbcuf piKXD78T3kTVpKWpWhjwROX8kxlAvF5PHrhtI4fSErSNy0YYK2uTIrSePS8EHcxKenmo 9FEtbFrnvsfmXcTCXSGlN5u7+swrcofeJ0MnwYTA+zAIdMrKw8ev3n/19+b5XcHWBzJS Aj9rrYbiqLqs0iw6Qv0rP6FU/2zZiOQhOesqsaS6do7FgbkeXXVp1sOdjTV+FqQdCOZy MbUiHKNIxiks8beb3tuQ+Xtx/ZHUsVzSxZnFiaPPAQ46wzPzp0gND/aJr8BbQwlGW06C kefQ== 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 :dkim-signature; bh=NRZ7g2XupwJPq+x4HLucSDiltZoeOFMk7jUDnIg2pRU=; b=RfAdc9Bm0Ym10FaO5qq8Zz/j4iwhcEnqeIjItNRwmWwT8cQjddP87OtuaNDbCTMGLd lfhof/weQ+tMxOIQZd98Gmj41z6o3RxeRhetcI6iAFBHKSdECos02tQkOaVKEW9tHYjf SMQ9NgJVDbtnKNcun4elX65gaF5UMT50SogWVtFQC5wU96ajFpISvhYrk5KDUx26xQvf e6/ow7OAN5c15tgFOmCZZ2kj1voUAfdalKgZ67jupQr8GmjHnk0ui5KLmXFkM0YgLewS LD1Mad9jt3czGBJRU+L82YoWOnnSKMI1yb32hSXVdMRE9DlEFGLg1e1CtfKGQJBuXGmL IE/A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=MNjWiC0A; 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 lh21si15410573ejb.632.2021.07.17.07.58.38; Sat, 17 Jul 2021 07:59:12 -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=MNjWiC0A; 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 S234518AbhGQPAY (ORCPT + 99 others); Sat, 17 Jul 2021 11:00:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55046 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234414AbhGQO76 (ORCPT ); Sat, 17 Jul 2021 10:59:58 -0400 Received: from mail-wr1-x42b.google.com (mail-wr1-x42b.google.com [IPv6:2a00:1450:4864:20::42b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 93997C061762 for ; Sat, 17 Jul 2021 07:57:00 -0700 (PDT) Received: by mail-wr1-x42b.google.com with SMTP id v5so15559333wrt.3 for ; Sat, 17 Jul 2021 07:57:00 -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:in-reply-to:references :mime-version:content-transfer-encoding; bh=NRZ7g2XupwJPq+x4HLucSDiltZoeOFMk7jUDnIg2pRU=; b=MNjWiC0A30y9Vpj9ZekYZ/22+NtGO22u5VfsDjmtAtgTqxNxBTLvtA0GCGzCqj0kJT dG1SBUNqdxAw0gqidh5lJF+lmyEnBBQCXy18rPpWiD4xvgWTGvxvMHiAbJm6A/xVP5hu 9eHv77UJlYRymdwtOcD2V4FTDoveEsYu9OA7DTPJKtO61VfSzgN73yYHhHLGkO1HNeMf tcyo94rbRNbSjwNGcEJU4YOM2kjuUF5v6nGQ3MWYmdmZgT1LaXXchc16cxiLXpqv/AuO aZNW/JUvGWN37M/2t3mIgOKTHBy47HZLxmSGM9pEr34quwQBrLo8gHfTzygLWVtLR0lQ 1Z0Q== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=NRZ7g2XupwJPq+x4HLucSDiltZoeOFMk7jUDnIg2pRU=; b=CSDnnYm9j9+Ral5VbMRN4eQgQtA8i7FZXNoWI+C01xvN6TnJFd9WhV5p0Nq6qHEH/F I4a12R7CruqfbVbCRhjUhpbxVQl6OAgmFakgC+ZFkiQ0VBhDNkkMAG50E+CR9MCfbw1f zNXuVgy16GpqT5TGt2IphksRIUZGpW24g9ERhWaz8nuJM0A8y8+t4gGUHO2r87E1Syqz EVtgO5CUgFltqqx/gW4Lx9jujfZLmrNGhSkzsheR3Og1JRdjcb0pRGf5zKHPcavT2zNr IZbICOFsOYDONxc2pkdbNBJSvk/rYayiAxK1vJjSA9qqZoGmbdyQ+CtK/J68bh1A5mhK Xdjg== X-Gm-Message-State: AOAM530z3ZZ3gXTkX40xRXZsoByjfvRVbE0Sya3oNe+lcGfcFi9GBIxY kID0F5MUCJge5BfdRg7W7m+YywitCbk= X-Received: by 2002:a5d:568a:: with SMTP id f10mr174796wrv.293.1626533819161; Sat, 17 Jul 2021 07:56:59 -0700 (PDT) Received: from agape ([5.171.72.101]) by smtp.gmail.com with ESMTPSA id p2sm10939508wmg.6.2021.07.17.07.56.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 17 Jul 2021 07:56:59 -0700 (PDT) From: Fabio Aiuto To: gregkh@linuxfoundation.org Cc: dan.carpenter@oracle.com, hdegoede@redhat.com, Larry.Finger@lwfinger.net, linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org Subject: [PATCH v2 04/10] staging: rtl8723bs: fix camel case name in macro IsLegacyOnly() Date: Sat, 17 Jul 2021 16:56:45 +0200 Message-Id: <52656190cefed1b0f9a2dd6dcb080adf2ca0a89b.1626533647.git.fabioaiuto83@gmail.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org fix camel case name in macro IsLegacyOnly() Signed-off-by: Fabio Aiuto --- drivers/staging/rtl8723bs/hal/hal_btcoex.c | 2 +- drivers/staging/rtl8723bs/include/ieee80211.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/rtl8723bs/hal/hal_btcoex.c b/drivers/staging/rtl8723bs/hal/hal_btcoex.c index 3b0573885dce..8ec8f283893b 100644 --- a/drivers/staging/rtl8723bs/hal/hal_btcoex.c +++ b/drivers/staging/rtl8723bs/hal/hal_btcoex.c @@ -401,7 +401,7 @@ static u8 halbtcoutsrc_Get(void *pBtcContext, u8 getType, void *pOutBuf) break; case BTC_GET_U4_WIFI_BW: - if (IsLegacyOnly(mlmeext->cur_wireless_mode)) + if (is_legacy_only(mlmeext->cur_wireless_mode)) *pU4Tmp = BTC_WIFI_BW_LEGACY; else if (pHalData->CurrentChannelBW == CHANNEL_WIDTH_20) *pU4Tmp = BTC_WIFI_BW_HT20; diff --git a/drivers/staging/rtl8723bs/include/ieee80211.h b/drivers/staging/rtl8723bs/include/ieee80211.h index b2c1a7dafcee..ea1800de3ef8 100644 --- a/drivers/staging/rtl8723bs/include/ieee80211.h +++ b/drivers/staging/rtl8723bs/include/ieee80211.h @@ -154,7 +154,7 @@ enum network_type { #define SUPPORTED_24G_NETTYPE_MSK (WIRELESS_11B | WIRELESS_11G | WIRELESS_11_24N) -#define IsLegacyOnly(NetType) ((NetType) == ((NetType) & (WIRELESS_11BG))) +#define is_legacy_only(NetType) ((NetType) == ((NetType) & (WIRELESS_11BG))) #define IsSupported24G(NetType) ((NetType) & SUPPORTED_24G_NETTYPE_MSK ? true : false) -- 2.20.1