Staging: rtl8192e: Rename variable CcxRmCapBuf
authorTree Davies <tdavies@darkphysics.net>
Tue, 27 Feb 2024 04:41:46 +0000 (20:41 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 5 Mar 2024 14:15:09 +0000 (14:15 +0000)
Rename variable CcxRmCapBuf to ccx_rm_cap_buf 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-10-tdavies@darkphysics.net
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8192e/rtllib_softmac.c

index f5e0741af04718dc5663297bc9ae5172d02062b2..477d736fe22d43b7a5b587b5533be1d370ce79da 100644 (file)
@@ -838,12 +838,12 @@ rtllib_association_req(struct rtllib_network *beacon,
        }
 
        if (beacon->ccx_rm_enable) {
-               static const u8 CcxRmCapBuf[] = {0x00, 0x40, 0x96, 0x01, 0x01,
+               static const u8 ccx_rm_cap_buf[] = {0x00, 0x40, 0x96, 0x01, 0x01,
                        0x00};
                struct octet_string os_ccx_rm_cap;
 
-               os_ccx_rm_cap.octet = (u8 *)CcxRmCapBuf;
-               os_ccx_rm_cap.Length = sizeof(CcxRmCapBuf);
+               os_ccx_rm_cap.octet = (u8 *)ccx_rm_cap_buf;
+               os_ccx_rm_cap.Length = sizeof(ccx_rm_cap_buf);
                tag = skb_put(skb, ccxrm_ie_len);
                *tag++ = MFIE_TYPE_GENERIC;
                *tag++ = os_ccx_rm_cap.Length;