From: fliegbert2@gmail.com
To: gregkh@linuxfoundation.org
Cc: linux-kernel@vger.kernel.org, linux-staging@lists.linux.dev,
Dalvin-Ehinoma Noah Aiguobas <fliegbert2@gmail.com>
Subject: [PATCH v2 3/6] staging: rtl8723bs: Rename camelcase enum value dot11AuthAlgrthm_Open
Date: Wed, 8 Jul 2026 12:16:00 +0000 [thread overview]
Message-ID: <20260708121603.2393-4-fliegbert2@gmail.com> (raw)
In-Reply-To: <20260708121603.2393-1-fliegbert2@gmail.com>
From: Dalvin-Ehinoma Noah Aiguobas <fliegbert2@gmail.com>
Rename enum value dot11AuthAlgrthm_Open to dot11_auth_algrthm_open in
enum to fix checkpatch.pl CamelCase finding.
Signed-off-by: Dalvin-Ehinoma Noah Aiguobas <fliegbert2@gmail.com>
---
drivers/staging/rtl8723bs/core/rtw_mlme.c | 2 +-
drivers/staging/rtl8723bs/core/rtw_mlme_ext.c | 4 ++--
drivers/staging/rtl8723bs/core/rtw_xmit.c | 2 +-
drivers/staging/rtl8723bs/include/rtw_mlme.h | 2 +-
drivers/staging/rtl8723bs/include/rtw_security.h | 2 +-
drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c | 8 ++++----
drivers/staging/rtl8723bs/os_dep/os_intfs.c | 2 +-
7 files changed, 11 insertions(+), 11 deletions(-)
diff --git a/drivers/staging/rtl8723bs/core/rtw_mlme.c b/drivers/staging/rtl8723bs/core/rtw_mlme.c
index 930ca09b7ac2..1835216de530 100644
--- a/drivers/staging/rtl8723bs/core/rtw_mlme.c
+++ b/drivers/staging/rtl8723bs/core/rtw_mlme.c
@@ -1119,7 +1119,7 @@ void rtw_reset_securitypriv(struct adapter *adapter)
/* */
struct security_priv *psec_priv = &adapter->securitypriv;
- psec_priv->dot11_auth_algrthm = dot11AuthAlgrthm_Open; /* open system */
+ psec_priv->dot11_auth_algrthm = dot11_auth_algrthm_open; /* open system */
psec_priv->dot11PrivacyAlgrthm = _NO_PRIVACY_;
psec_priv->dot11PrivacyKeyIndex = 0;
diff --git a/drivers/staging/rtl8723bs/core/rtw_mlme_ext.c b/drivers/staging/rtl8723bs/core/rtw_mlme_ext.c
index 3ed30b19d94e..aba97ff0f007 100644
--- a/drivers/staging/rtl8723bs/core/rtw_mlme_ext.c
+++ b/drivers/staging/rtl8723bs/core/rtw_mlme_ext.c
@@ -237,7 +237,7 @@ static void init_mlme_ext_priv_value(struct adapter *padapter)
pmlmeinfo->reassoc_count = 0;
pmlmeinfo->link_count = 0;
pmlmeinfo->auth_seq = 0;
- pmlmeinfo->auth_algo = dot11AuthAlgrthm_Open;
+ pmlmeinfo->auth_algo = dot11_auth_algrthm_open;
pmlmeinfo->key_index = 0;
pmlmeinfo->iv = 0;
@@ -860,7 +860,7 @@ unsigned int OnAuthClient(struct adapter *padapter, union recv_frame *precv_fram
if (status != 0) {
if (status == 13) { /* pmlmeinfo->auth_algo == dot11AuthAlgrthm_Auto) */
if (pmlmeinfo->auth_algo == dot11AuthAlgrthm_Shared)
- pmlmeinfo->auth_algo = dot11AuthAlgrthm_Open;
+ pmlmeinfo->auth_algo = dot11_auth_algrthm_open;
else
pmlmeinfo->auth_algo = dot11AuthAlgrthm_Shared;
/* pmlmeinfo->reauth_count = 0; */
diff --git a/drivers/staging/rtl8723bs/core/rtw_xmit.c b/drivers/staging/rtl8723bs/core/rtw_xmit.c
index 7287f4342718..80e7eef51390 100644
--- a/drivers/staging/rtl8723bs/core/rtw_xmit.c
+++ b/drivers/staging/rtl8723bs/core/rtw_xmit.c
@@ -524,7 +524,7 @@ static int update_attrib_sec_info(struct adapter *padapter, struct pkt_attrib *p
GET_ENCRY_ALGO(psecuritypriv, psta, pattrib->encrypt, bmcast);
switch (psecuritypriv->dot11_auth_algrthm) {
- case dot11AuthAlgrthm_Open:
+ case dot11_auth_algrthm_open:
case dot11AuthAlgrthm_Shared:
case dot11AuthAlgrthm_Auto:
pattrib->key_idx = (u8)psecuritypriv->dot11PrivacyKeyIndex;
diff --git a/drivers/staging/rtl8723bs/include/rtw_mlme.h b/drivers/staging/rtl8723bs/include/rtw_mlme.h
index b42fb1fc7658..140f382a3f42 100644
--- a/drivers/staging/rtl8723bs/include/rtw_mlme.h
+++ b/drivers/staging/rtl8723bs/include/rtw_mlme.h
@@ -44,7 +44,7 @@
enum {
- dot11AuthAlgrthm_Open = 0,
+ dot11_auth_algrthm_open = 0,
dot11AuthAlgrthm_Shared,
dot11_auth_algrthm_8021x,
dot11AuthAlgrthm_Auto,
diff --git a/drivers/staging/rtl8723bs/include/rtw_security.h b/drivers/staging/rtl8723bs/include/rtw_security.h
index 58f058ce339f..5a822784fe65 100644
--- a/drivers/staging/rtl8723bs/include/rtw_security.h
+++ b/drivers/staging/rtl8723bs/include/rtw_security.h
@@ -171,7 +171,7 @@ struct security_priv {
#define GET_ENCRY_ALGO(psecuritypriv, psta, encry_algo, bmcst)\
do {\
switch (psecuritypriv->dot11_auth_algrthm) {\
- case dot11AuthAlgrthm_Open:\
+ case dot11_auth_algrthm_open:\
case dot11AuthAlgrthm_Shared:\
case dot11AuthAlgrthm_Auto:\
encry_algo = (u8)psecuritypriv->dot11PrivacyAlgrthm;\
diff --git a/drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c b/drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c
index 18e95c4feb39..2a947bbe6c84 100644
--- a/drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c
+++ b/drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c
@@ -1315,7 +1315,7 @@ static int rtw_cfg80211_set_auth_type(struct security_priv *psecuritypriv,
break;
case NL80211_AUTHTYPE_OPEN_SYSTEM:
- psecuritypriv->dot11_auth_algrthm = dot11AuthAlgrthm_Open;
+ psecuritypriv->dot11_auth_algrthm = dot11_auth_algrthm_open;
if (psecuritypriv->ndisauthtype > Ndis802_11AuthModeWPA)
psecuritypriv->dot11_auth_algrthm = dot11_auth_algrthm_8021x;
@@ -1329,7 +1329,7 @@ static int rtw_cfg80211_set_auth_type(struct security_priv *psecuritypriv,
break;
default:
- psecuritypriv->dot11_auth_algrthm = dot11AuthAlgrthm_Open;
+ psecuritypriv->dot11_auth_algrthm = dot11_auth_algrthm_open;
/* return -ENOTSUPP; */
}
@@ -1563,7 +1563,7 @@ static int cfg80211_rtw_join_ibss(struct wiphy *wiphy, struct net_device *ndev,
psecuritypriv->ndisencryptstatus = Ndis802_11EncryptionDisabled;
psecuritypriv->dot11PrivacyAlgrthm = _NO_PRIVACY_;
psecuritypriv->dot118021XGrpPrivacy = _NO_PRIVACY_;
- psecuritypriv->dot11_auth_algrthm = dot11AuthAlgrthm_Open; /* open system */
+ psecuritypriv->dot11_auth_algrthm = dot11_auth_algrthm_open; /* open system */
psecuritypriv->ndisauthtype = Ndis802_11AuthModeOpen;
ret = rtw_cfg80211_set_auth_type(psecuritypriv, NL80211_AUTHTYPE_OPEN_SYSTEM);
@@ -1659,7 +1659,7 @@ static int cfg80211_rtw_connect(struct wiphy *wiphy, struct net_device *ndev,
psecuritypriv->ndisencryptstatus = Ndis802_11EncryptionDisabled;
psecuritypriv->dot11PrivacyAlgrthm = _NO_PRIVACY_;
psecuritypriv->dot118021XGrpPrivacy = _NO_PRIVACY_;
- psecuritypriv->dot11_auth_algrthm = dot11AuthAlgrthm_Open; /* open system */
+ psecuritypriv->dot11_auth_algrthm = dot11_auth_algrthm_open; /* open system */
psecuritypriv->ndisauthtype = Ndis802_11AuthModeOpen;
ret = rtw_cfg80211_set_wpa_version(psecuritypriv, sme->crypto.wpa_versions);
diff --git a/drivers/staging/rtl8723bs/os_dep/os_intfs.c b/drivers/staging/rtl8723bs/os_dep/os_intfs.c
index d722121c3633..716105a7d275 100644
--- a/drivers/staging/rtl8723bs/os_dep/os_intfs.c
+++ b/drivers/staging/rtl8723bs/os_dep/os_intfs.c
@@ -531,7 +531,7 @@ static void rtw_init_default_value(struct adapter *padapter)
psecuritypriv->sw_encrypt = pregistrypriv->software_encrypt;
psecuritypriv->sw_decrypt = pregistrypriv->software_decrypt;
- psecuritypriv->dot11_auth_algrthm = dot11AuthAlgrthm_Open; /* open system */
+ psecuritypriv->dot11_auth_algrthm = dot11_auth_algrthm_open; /* open system */
psecuritypriv->dot11PrivacyAlgrthm = _NO_PRIVACY_;
psecuritypriv->dot11PrivacyKeyIndex = 0;
--
2.54.0
next prev parent reply other threads:[~2026-07-08 12:19 UTC|newest]
Thread overview: 30+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-06-01 20:39 [PATCH 0/6] staging: rtl8723bs: Rename camelcase enum values dot11AuthAlgrthm_ fliegbert2
2026-06-01 20:39 ` [PATCH 1/6] staging: rtl8723bs: Rename camelcase variable dot11AuthAlgrthm_8021X fliegbert2
2026-07-07 11:02 ` Greg KH
2026-06-01 20:39 ` [PATCH 2/6] staging: rtl8723bs: Replace spaces for tab fliegbert2
2026-06-01 20:39 ` [PATCH 3/6] staging: rtl8723bs: Rename camelcase variable dot11AuthAlgrthm_Open fliegbert2
2026-06-01 20:39 ` [PATCH 4/6] staging: rtl8723bs: Rename camelcase variable dot11AuthAlgrthm_Auto fliegbert2
2026-06-01 20:39 ` [PATCH 5/6] staging: rtl8723bs: Rename camelcase variable dot11AuthAlgrthm_Shared fliegbert2
2026-07-07 11:02 ` Greg KH
2026-06-01 20:39 ` [PATCH 6/6] staging: rtl8723bs: Rename camelcase variable dot11AuthAlgrthm_WAPI and dot11AuthAlgrthm_MaxNum fliegbert2
2026-07-08 12:15 ` [PATCH v2 0/6] Rename camelcase enum values dot11AuthAlgrthm_ fliegbert2
2026-07-08 12:15 ` [PATCH v2 1/6] staging: rtl8723bs: Rename camelcase enum value dot11AuthAlgrthm_8021X fliegbert2
2026-07-08 12:15 ` [PATCH v2 2/6] staging: rtl8723bs: Replace spaces for tab fliegbert2
2026-07-10 7:52 ` Greg KH
2026-07-08 12:16 ` fliegbert2 [this message]
2026-07-08 12:16 ` [PATCH v2 4/6] staging: rtl8723bs: Rename camelcase enum value dot11AuthAlgrthm_Auto fliegbert2
2026-07-08 12:16 ` [PATCH v2 5/6] staging: rtl8723bs: Rename camelcase enum value dot11AuthAlgrthm_Shared fliegbert2
2026-07-08 12:16 ` [PATCH v2 6/6] staging: rtl8723bs: Rename camelcase enum values dot11AuthAlgrthm_WAPI and dot11AuthAlgrthm_MaxNum fliegbert2
2026-07-10 10:45 ` [PATCH v3 0/5] Rename camelcase enum values dot11AuthAlgrthm_ fliegbert2
2026-07-10 10:45 ` [PATCH v3 1/5] staging: rtl8723bs: Rename camelcase enum value dot11AuthAlgrthm_8021X fliegbert2
2026-07-10 10:45 ` [PATCH v3 2/5] staging: rtl8723bs: Rename camelcase enum value dot11AuthAlgrthm_Open fliegbert2
2026-07-10 10:45 ` [PATCH v3 3/5] staging: rtl8723bs: Rename camelcase enum value dot11AuthAlgrthm_Auto fliegbert2
2026-07-10 10:45 ` [PATCH v3 4/5] staging: rtl8723bs: Rename camelcase enum value dot11AuthAlgrthm_Shared fliegbert2
2026-07-10 10:45 ` [PATCH v3 5/5] staging: rtl8723bs: Rename camelcase enum values dot11AuthAlgrthm_WAPI and dot11AuthAlgrthm_MaxNum fliegbert2
2026-07-10 14:52 ` [PATCH v3 0/5] Rename camelcase enum values dot11AuthAlgrthm_ Greg KH
2026-07-10 16:20 ` [PATCH v4 0/5] staging: rtl8723bs: " fliegbert2
2026-07-10 16:20 ` [PATCH v4 1/5] staging: rtl8723bs: Rename camelcase enum value dot11AuthAlgrthm_8021X fliegbert2
2026-07-10 16:20 ` [PATCH v4 2/5] staging: rtl8723bs: Rename camelcase enum value dot11AuthAlgrthm_Open fliegbert2
2026-07-10 16:20 ` [PATCH v4 3/5] staging: rtl8723bs: Rename camelcase enum value dot11AuthAlgrthm_Auto fliegbert2
2026-07-10 16:20 ` [PATCH v4 4/5] staging: rtl8723bs: Rename camelcase enum value dot11AuthAlgrthm_Shared fliegbert2
2026-07-10 16:20 ` [PATCH v4 5/5] staging: rtl8723bs: Rename camelcase enum values dot11AuthAlgrthm_WAPI and dot11AuthAlgrthm_MaxNum fliegbert2
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=20260708121603.2393-4-fliegbert2@gmail.com \
--to=fliegbert2@gmail.com \
--cc=gregkh@linuxfoundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-staging@lists.linux.dev \
/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