Staging: rtl8192e: Rename variable osCcxRmCap
authorTree Davies <tdavies@darkphysics.net>
Tue, 27 Feb 2024 04:41:43 +0000 (20:41 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 5 Mar 2024 14:15:08 +0000 (14:15 +0000)
Rename variable osCcxRmCap to os_ccx_rm_cap to fix checkpatch
warning Avoid CamelCase.

Signed-off-by: Tree Davies <tdavies@darkphysics.net>
Tested-by: Philipp Hortmann <philipp.g.hortmann@gmail.com>
Link: https://lore.kernel.org/r/20240227044157.407379-7-tdavies@darkphysics.net
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8192e/rtllib_softmac.c

index b189ba220e22db2b566cf9832caac136f4f1ef2f..c3f37e71d61451c50d3d382fe921a4588572a0a7 100644 (file)
@@ -840,15 +840,15 @@ rtllib_association_req(struct rtllib_network *beacon,
        if (beacon->bCcxRmEnable) {
                static const u8 CcxRmCapBuf[] = {0x00, 0x40, 0x96, 0x01, 0x01,
                        0x00};
-               struct octet_string osCcxRmCap;
+               struct octet_string os_ccx_rm_cap;
 
-               osCcxRmCap.octet = (u8 *)CcxRmCapBuf;
-               osCcxRmCap.Length = sizeof(CcxRmCapBuf);
+               os_ccx_rm_cap.octet = (u8 *)CcxRmCapBuf;
+               os_ccx_rm_cap.Length = sizeof(CcxRmCapBuf);
                tag = skb_put(skb, ccxrm_ie_len);
                *tag++ = MFIE_TYPE_GENERIC;
-               *tag++ = osCcxRmCap.Length;
-               memcpy(tag, osCcxRmCap.octet, osCcxRmCap.Length);
-               tag += osCcxRmCap.Length;
+               *tag++ = os_ccx_rm_cap.Length;
+               memcpy(tag, os_ccx_rm_cap.octet, os_ccx_rm_cap.Length);
+               tag += os_ccx_rm_cap.Length;
        }
 
        if (beacon->BssCcxVerNumber >= 2) {