From: Tree Davies <tdavies@darkphysics.net>
To: gregkh@linuxfoundation.org, philipp.g.hortmann@gmail.com, anjan@momi.ca
Cc: linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org,
Tree Davies <tdavies@darkphysics.net>
Subject: [PATCH v2 07/20] Staging: rtl8192e: Rename variable bCkipSupported
Date: Mon, 26 Feb 2024 20:41:44 -0800 [thread overview]
Message-ID: <20240227044157.407379-8-tdavies@darkphysics.net> (raw)
In-Reply-To: <20240227044157.407379-1-tdavies@darkphysics.net>
Rename variable bCkipSupported to ckip_supported to fix checkpatch
warning Avoid CamelCase.
Signed-off-by: Tree Davies <tdavies@darkphysics.net>
---
v2: no changes
drivers/staging/rtl8192e/rtllib.h | 2 +-
drivers/staging/rtl8192e/rtllib_rx.c | 8 ++++----
drivers/staging/rtl8192e/rtllib_softmac.c | 4 ++--
3 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/drivers/staging/rtl8192e/rtllib.h b/drivers/staging/rtl8192e/rtllib.h
index ea08ac058421..6cab19b03f4f 100644
--- a/drivers/staging/rtl8192e/rtllib.h
+++ b/drivers/staging/rtl8192e/rtllib.h
@@ -928,7 +928,7 @@ struct rtllib_network {
struct rtllib_qos_data qos_data;
bool bWithAironetIE;
- bool bCkipSupported;
+ bool ckip_supported;
bool bCcxRmEnable;
u8 CcxRmState[2];
bool bMBssidValid;
diff --git a/drivers/staging/rtl8192e/rtllib_rx.c b/drivers/staging/rtl8192e/rtllib_rx.c
index 63e3b655e4ee..cdb7e87c0c89 100644
--- a/drivers/staging/rtl8192e/rtllib_rx.c
+++ b/drivers/staging/rtl8192e/rtllib_rx.c
@@ -2099,12 +2099,12 @@ int rtllib_parse_info_param(struct rtllib_device *ieee,
& SUPPORT_CKIP_MIC) ||
(info_element->data[IE_CISCO_FLAG_POSITION]
& SUPPORT_CKIP_PK))
- network->bCkipSupported = true;
+ network->ckip_supported = true;
else
- network->bCkipSupported = false;
+ network->ckip_supported = false;
} else {
network->bWithAironetIE = false;
- network->bCkipSupported = false;
+ network->ckip_supported = false;
}
break;
case MFIE_TYPE_QOS_PARAMETER:
@@ -2349,7 +2349,7 @@ static inline void update_network(struct rtllib_device *ieee,
memcpy(dst->CountryIeBuf, src->CountryIeBuf, src->CountryIeLen);
dst->bWithAironetIE = src->bWithAironetIE;
- dst->bCkipSupported = src->bCkipSupported;
+ dst->ckip_supported = src->ckip_supported;
memcpy(dst->CcxRmState, src->CcxRmState, 2);
dst->bCcxRmEnable = src->bCcxRmEnable;
dst->MBssidMask = src->MBssidMask;
diff --git a/drivers/staging/rtl8192e/rtllib_softmac.c b/drivers/staging/rtl8192e/rtllib_softmac.c
index c3f37e71d614..0915f4f8761f 100644
--- a/drivers/staging/rtl8192e/rtllib_softmac.c
+++ b/drivers/staging/rtl8192e/rtllib_softmac.c
@@ -740,7 +740,7 @@ rtllib_association_req(struct rtllib_network *beacon,
}
}
- if (beacon->bCkipSupported)
+ if (beacon->ckip_supported)
ckip_ie_len = 30 + 2;
if (beacon->bCcxRmEnable)
ccxrm_ie_len = 6 + 2;
@@ -817,7 +817,7 @@ rtllib_association_req(struct rtllib_network *beacon,
*tag++ = beacon->rates_ex[i];
}
- if (beacon->bCkipSupported) {
+ if (beacon->ckip_supported) {
static const u8 AironetIeOui[] = {0x00, 0x01, 0x66};
u8 CcxAironetBuf[30];
struct octet_string osCcxAironetIE;
--
2.39.2
next prev parent reply other threads:[~2024-02-27 4:42 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-02-27 4:41 [PATCH v2 00/20] Staging: rtl8192e: Fix checkpatch warning for rtllib_softmac.c Tree Davies
2024-02-27 4:41 ` [PATCH v2 01/20] Staging: rtl8192e: Rename function rtllib_rx_ADDBAReq() Tree Davies
2024-02-27 4:41 ` [PATCH v2 02/20] Staging: rtl8192e: Rename variable NumRecvDataInPeriod Tree Davies
2024-02-27 4:41 ` [PATCH v2 03/20] Staging: rtl8192e: Rename function SecIsInPMKIDList() Tree Davies
2024-02-27 4:41 ` [PATCH v2 04/20] Staging: rtl8192e: Rename variable PMKIDList Tree Davies
2024-02-27 4:41 ` [PATCH v2 05/20] Staging: rtl8192e: Rename variable Turbo_Enable Tree Davies
2024-02-27 4:41 ` [PATCH v2 06/20] Staging: rtl8192e: Rename variable osCcxRmCap Tree Davies
2024-02-27 4:41 ` Tree Davies [this message]
2024-02-27 4:41 ` [PATCH v2 08/20] Staging: rtl8192e: Rename variable bCcxRmEnable Tree Davies
2024-02-27 4:41 ` [PATCH v2 09/20] Staging: rtl8192e: Rename variable CcxRmCapBuf Tree Davies
2024-02-27 4:41 ` [PATCH v2 10/20] Staging: rtl8192e: Rename variable BssCcxVerNumber Tree Davies
2024-02-27 4:41 ` [PATCH v2 11/20] Staging: rtl8192e: Rename variable CcxVerNumBuf Tree Davies
2024-02-27 4:41 ` [PATCH v2 12/20] Staging: rtl8192e: Rename variable asRsn Tree Davies
2024-02-27 4:41 ` [PATCH v2 13/20] Staging: rtl8192e: Rename variable AironetIeOui Tree Davies
2024-02-27 4:41 ` [PATCH v2 14/20] Staging: rtl8192e: Rename variable osCcxAironetIE Tree Davies
2024-02-27 4:41 ` [PATCH v2 15/20] Staging: rtl8192e: Rename variable CcxAironetBuf Tree Davies
2024-02-27 4:41 ` [PATCH v2 16/20] Staging: rtl8192e: Rename varoable osCcxVerNum Tree Davies
2024-02-27 4:41 ` [PATCH v2 17/20] Staging: rtl8192e: Rename varoable asSta Tree Davies
2024-02-27 4:41 ` [PATCH v2 18/20] Staging: rtl8192e: Rename reference AllowAllDestAddrHandler Tree Davies
2024-02-27 4:41 ` [PATCH v2 19/20] Staging: rtl8192e: Rename boolean variable bHalfWirelessN24GMode Tree Davies
2024-02-27 4:41 ` [PATCH v2 20/20] Staging: rtl8192e: Rename function MgntQuery_MgntFrameTxRate Tree Davies
2024-02-27 20:12 ` [PATCH v2 00/20] Staging: rtl8192e: Fix checkpatch warning for rtllib_softmac.c Philipp Hortmann
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20240227044157.407379-8-tdavies@darkphysics.net \
--to=tdavies@darkphysics.net \
--cc=anjan@momi.ca \
--cc=gregkh@linuxfoundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-staging@lists.linux.dev \
--cc=philipp.g.hortmann@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox