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

index 51fa9db7d73c59e9ae3a38758364d56dd81961ff..567891123960ca77fa01a7674b0a5a6a4fd76ad7 100644 (file)
@@ -853,16 +853,16 @@ rtllib_association_req(struct rtllib_network *beacon,
 
        if (beacon->bss_ccx_ver_number >= 2) {
                u8 ccx_ver_num_buf[] = {0x00, 0x40, 0x96, 0x03, 0x00};
-               struct octet_string osCcxVerNum;
+               struct octet_string os_ccx_ver_num;
 
                ccx_ver_num_buf[4] = beacon->bss_ccx_ver_number;
-               osCcxVerNum.octet = ccx_ver_num_buf;
-               osCcxVerNum.Length = sizeof(ccx_ver_num_buf);
+               os_ccx_ver_num.octet = ccx_ver_num_buf;
+               os_ccx_ver_num.Length = sizeof(ccx_ver_num_buf);
                tag = skb_put(skb, cxvernum_ie_len);
                *tag++ = MFIE_TYPE_GENERIC;
-               *tag++ = osCcxVerNum.Length;
-               memcpy(tag, osCcxVerNum.octet, osCcxVerNum.Length);
-               tag += osCcxVerNum.Length;
+               *tag++ = os_ccx_ver_num.Length;
+               memcpy(tag, os_ccx_ver_num.octet, os_ccx_ver_num.Length);
+               tag += os_ccx_ver_num.Length;
        }
        if (ieee->ht_info->current_ht_support && ieee->ht_info->enable_ht) {
                if (ieee->ht_info->peer_ht_spec_ver != HT_SPEC_VER_EWC) {