From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wm1-f48.google.com (mail-wm1-f48.google.com [209.85.128.48]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 40074219303 for ; Fri, 10 Jul 2026 16:22:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.48 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1783700530; cv=none; b=qlrV5TSWH90m5hJkVd+IRP3UxtpKYYDFb1aDMgr+ag1VXNO/F7auWdGEDSTBuSDPzPZoDGDZa9iml1QX9S7YBY3PY8L7ytAZZasTs820D8zXOz55w/M7X7ZSUiEZb6pByVijbZ/zDxQGmANJ+2/TbU9LmXGL2hZBHnqUEw/yZYU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1783700530; c=relaxed/simple; bh=RvJD0O4IrME8GlF4rz3eS0b50mG3gUoldsNBYY+Bc6s=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=mTymZqqt0qpBsVILLQvMalix96uPdyPUu0NM0U01ia2g9xYL2qh3D5xHk8HrtqUXCqP/ggWhZLqGtMt05hGKVPfQGx6TqCmKV8IyB/kmpOr966eI+UKUl2M14cR1vRTHocyogt4tFxn5+FsoqmUE5voT6Us+qNbn81VWfkZNqFs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=LtC7wcl9; arc=none smtp.client-ip=209.85.128.48 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="LtC7wcl9" Received: by mail-wm1-f48.google.com with SMTP id 5b1f17b1804b1-493f60208a5so6234085e9.3 for ; Fri, 10 Jul 2026 09:22:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1783700523; x=1784305323; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=tnnuDqpf863Ubk5BT+RjnlPm+FKRZIS+XiHlleqOY14=; b=LtC7wcl9faSy7gzZwJJvnmipVkLuiR7ESrvcY+kta8swfUk3sj+/u2JcPtGU9B8dN0 ygPQDCF0x4KS4Op5fzyg2Y/I4gkhq0gn9/cIq2tr7o4isriqrlwVLFQh1Y0jZFOoprdO LDO7bS3+6OxBZOJSKBEbD1IsHgNkqastwguO9Vi9oxOqU9eIkt8LAO8REK4htrov/CUq zB1mAldNDG6bLS9EZVO1Xhr8wTKxzDBKNRxLahCnHBz3umI/pWzmi0+ZUDJDWJnkbMD8 E/H1vtWuHj7DsLn9UA6vUIYZsT06z0fDYD6DMeMGif8wNZsIj3FrREI68qgKso4F3G4u 3eGQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1783700523; x=1784305323; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to:content-type; bh=tnnuDqpf863Ubk5BT+RjnlPm+FKRZIS+XiHlleqOY14=; b=kSOQdZo2kjIFKuN1MUiODYMivK6t5+ihAm7hoHqv9lmw73BHKNjS50LfH/iNJBEwAb 1mM8YFqaXBvdpivah6OAmAXzggNkXuTJIeR9pcfp9iS8nS4TBb4K8vNUSP6cpLQvI3S3 JmTAPiF892c2ImszBdESwzEGuYDRNRtjPbXwLiMB4kR3IgrxNq6tyys/iIlB4VpO3rRO UMhpNlbwq+JfFY4dQVJCr2s+Tg/jQqb+KxvnxcRHJJ+OfzBAcpaHQDUeZ2mZBnsmYq0P kNis0xMDlFHzo5iUj4SK1mIdACIWGV/Ym69nMRU2VxVsq1y+u1GdtP78N1S2oMTXoXkZ yB+Q== X-Gm-Message-State: AOJu0YzTeu8kk3ojuMMzdZ8H7HBeXcRuuL9/K4RKvNaVhdHShPk81yb7 UEfDasfvPyx3NQfUYIpcYJETWd/EG/qETzOdrLxZxfgEXOD1QrW8gy55 X-Gm-Gg: AfdE7cnCfrFlm/gwtOG0aRUt/Nz7MYsr16957eA/80d1bp/eW3niVcPSunF7nVnLzdZ 2ufHQAGIJ6D/+eahzkCYYTv9O2+VJXhi4bHeIPABan0Gw2Iw4wxIasSd9q2KNeiAGUKV6SYkQzY +BiMmFnWIBv6Xoqnsq5mNhQ1pajZtxZh1gPhoWU8DMGIIc2aVqrUw882HiS3Ukdw373Zt5Dj9J1 brRRBoecoLUNoPKux2oRY9D4MlganbzxcKsusCopPpgdiMWy7lopHQkbNygN5BWotLSvLd5RBg6 GFzIQOaTJlkQ8xUi9yv8VlL7h3h8sYHOaExbXi6z0f3X5Ccqg5jwgqHGa7EI0tE/4z8R0XVEgq5 Fop0VgNrVA49XVaoncueeM3e/MiCRibcnxCvMPfIlCisjkh0+ds8930upUeG7XtPlQJ+h6bSF1G GnL7uf4ngIIB4XvWh87fW+wllUHQLoxE1kkQjlDzk6oalBG/x9NXBezI5XC6QevVMm4N7JGF/Oz 1c0QA== X-Received: by 2002:a05:6000:41f7:b0:472:79bc:3919 with SMTP id ffacd0b85a97d-47df079051fmr14004913f8f.39.1783700522900; Fri, 10 Jul 2026 09:22:02 -0700 (PDT) Received: from koolguy.fritz.box (dslb-088-074-245-227.088.074.pools.vodafone-ip.de. [88.74.245.227]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-47aa039af67sm69436063f8f.17.2026.07.10.09.22.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 10 Jul 2026 09:22:02 -0700 (PDT) From: fliegbert2@gmail.com To: gregkh@linuxfoundation.org Cc: linux-kernel@vger.kernel.org, linux-staging@lists.linux.dev, Dalvin-Ehinoma Noah Aiguobas Subject: [PATCH v4 4/5] staging: rtl8723bs: Rename camelcase enum value dot11AuthAlgrthm_Shared Date: Fri, 10 Jul 2026 16:20:16 +0000 Message-ID: <20260710162017.5660-5-fliegbert2@gmail.com> X-Mailer: git-send-email 2.54.0 In-Reply-To: <20260710162017.5660-1-fliegbert2@gmail.com> References: <20260710162017.5660-1-fliegbert2@gmail.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit From: Dalvin-Ehinoma Noah Aiguobas Rename enum value dot11AuthAlgrthm_Shared to dot11_auth_algrthm_shared to fix checkpatch.pl CamelCase finding. Signed-off-by: Dalvin-Ehinoma Noah Aiguobas --- drivers/staging/rtl8723bs/core/rtw_mlme_ext.c | 10 +++++----- 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 | 4 ++-- 5 files changed, 10 insertions(+), 10 deletions(-) diff --git a/drivers/staging/rtl8723bs/core/rtw_mlme_ext.c b/drivers/staging/rtl8723bs/core/rtw_mlme_ext.c index 83a35ff78752..9fadd345b640 100644 --- a/drivers/staging/rtl8723bs/core/rtw_mlme_ext.c +++ b/drivers/staging/rtl8723bs/core/rtw_mlme_ext.c @@ -862,10 +862,10 @@ unsigned int OnAuthClient(struct adapter *padapter, union recv_frame *precv_fram if (status != 0) { if (status == 13) { /* pmlmeinfo->auth_algo == dot11_auth_algrthm_auto) */ - if (pmlmeinfo->auth_algo == dot11AuthAlgrthm_Shared) + if (pmlmeinfo->auth_algo == dot11_auth_algrthm_shared) pmlmeinfo->auth_algo = dot11_auth_algrthm_open; else - pmlmeinfo->auth_algo = dot11AuthAlgrthm_Shared; + pmlmeinfo->auth_algo = dot11_auth_algrthm_shared; /* pmlmeinfo->reauth_count = 0; */ } @@ -874,7 +874,7 @@ unsigned int OnAuthClient(struct adapter *padapter, union recv_frame *precv_fram } if (seq == 2) { - if (pmlmeinfo->auth_algo == dot11AuthAlgrthm_Shared) { + if (pmlmeinfo->auth_algo == dot11_auth_algrthm_shared) { /* legendary shared system */ p = rtw_get_ie(pframe + WLAN_HDR_A3_LEN + _AUTH_IE_OFFSET_, WLAN_EID_CHALLENGE, (int *)&len, pkt_len - WLAN_HDR_A3_LEN - _AUTH_IE_OFFSET_); @@ -892,7 +892,7 @@ unsigned int OnAuthClient(struct adapter *padapter, union recv_frame *precv_fram /* open system */ go2asoc = 1; } else if (seq == 4) { - if (pmlmeinfo->auth_algo == dot11AuthAlgrthm_Shared) + if (pmlmeinfo->auth_algo == dot11_auth_algrthm_shared) go2asoc = 1; else goto authclnt_fail; @@ -2593,7 +2593,7 @@ void issue_auth(struct adapter *padapter, struct sta_info *psta, unsigned short memcpy(pwlanhdr->addr3, get_my_bssid(&pmlmeinfo->network), ETH_ALEN); /* setting auth algo number */ - val16 = (pmlmeinfo->auth_algo == dot11AuthAlgrthm_Shared) ? 1 : 0;/* 0:OPEN System, 1:Shared key */ + val16 = (pmlmeinfo->auth_algo == dot11_auth_algrthm_shared) ? 1 : 0;/* 0:OPEN System, 1:Shared key */ if (val16) use_shared_key = 1; le_tmp = cpu_to_le16(val16); diff --git a/drivers/staging/rtl8723bs/core/rtw_xmit.c b/drivers/staging/rtl8723bs/core/rtw_xmit.c index 04e849871975..f060968eed21 100644 --- a/drivers/staging/rtl8723bs/core/rtw_xmit.c +++ b/drivers/staging/rtl8723bs/core/rtw_xmit.c @@ -525,7 +525,7 @@ static int update_attrib_sec_info(struct adapter *padapter, struct pkt_attrib *p switch (psecuritypriv->dot11_auth_algrthm) { case dot11_auth_algrthm_open: - case dot11AuthAlgrthm_Shared: + case dot11_auth_algrthm_shared: case dot11_auth_algrthm_auto: pattrib->key_idx = (u8)psecuritypriv->dot11PrivacyKeyIndex; break; diff --git a/drivers/staging/rtl8723bs/include/rtw_mlme.h b/drivers/staging/rtl8723bs/include/rtw_mlme.h index f20697fb9e93..2ebfd7a0bb69 100644 --- a/drivers/staging/rtl8723bs/include/rtw_mlme.h +++ b/drivers/staging/rtl8723bs/include/rtw_mlme.h @@ -45,7 +45,7 @@ enum { dot11_auth_algrthm_open = 0, - dot11AuthAlgrthm_Shared, + dot11_auth_algrthm_shared, dot11_auth_algrthm_8021x, dot11_auth_algrthm_auto, dot11AuthAlgrthm_WAPI, diff --git a/drivers/staging/rtl8723bs/include/rtw_security.h b/drivers/staging/rtl8723bs/include/rtw_security.h index 825a4a4532ce..e244910a75cc 100644 --- a/drivers/staging/rtl8723bs/include/rtw_security.h +++ b/drivers/staging/rtl8723bs/include/rtw_security.h @@ -172,7 +172,7 @@ struct security_priv { do {\ switch (psecuritypriv->dot11_auth_algrthm) {\ case dot11_auth_algrthm_open:\ - case dot11AuthAlgrthm_Shared:\ + case dot11_auth_algrthm_shared:\ case dot11_auth_algrthm_auto:\ encry_algo = (u8)psecuritypriv->dot11_privacy_algrthm;\ break;\ diff --git a/drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c b/drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c index 980fe8ff26c8..f742450cfdad 100644 --- a/drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c +++ b/drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c @@ -1323,7 +1323,7 @@ static int rtw_cfg80211_set_auth_type(struct security_priv *psecuritypriv, break; case NL80211_AUTHTYPE_SHARED_KEY: - psecuritypriv->dot11_auth_algrthm = dot11AuthAlgrthm_Shared; + psecuritypriv->dot11_auth_algrthm = dot11_auth_algrthm_shared; psecuritypriv->ndisencryptstatus = Ndis802_11Encryption1Enabled; @@ -1682,7 +1682,7 @@ static int cfg80211_rtw_connect(struct wiphy *wiphy, struct net_device *ndev, } /* For WEP Shared auth */ - if ((psecuritypriv->dot11_auth_algrthm == dot11AuthAlgrthm_Shared || + if ((psecuritypriv->dot11_auth_algrthm == dot11_auth_algrthm_shared || psecuritypriv->dot11_auth_algrthm == dot11_auth_algrthm_auto) && sme->key) { u32 wep_key_idx, wep_key_len, wep_total_len; struct ndis_802_11_wep *pwep = NULL; -- 2.54.0