]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
Staging: rtl8192e: Rename variable bWithCcxVerNum
authorTree Davies <tdavies@darkphysics.net>
Tue, 21 May 2024 03:17:12 +0000 (20:17 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 4 Jun 2024 11:16:21 +0000 (13:16 +0200)
Rename variable bWithCcxVerNum to with_ccx_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>
Reviewed-by: Dan Carpenter <dan.carpenter@linaro.org>
Link: https://lore.kernel.org/r/20240521031718.17852-26-tdavies@darkphysics.net
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8192e/rtllib.h
drivers/staging/rtl8192e/rtllib_rx.c

index 91164a3b01aa29c4d2a7335b3754f2f4337ec71a..4fec36cfa2fc4e4d66501738e7800192a413336f 100644 (file)
@@ -917,7 +917,7 @@ struct rtllib_network {
        bool    mb_ssid_valid;
        u8      mb_ssid_mask;
        u8      mb_ssid[ETH_ALEN];
-       bool    bWithCcxVerNum;
+       bool    with_ccx_ver_num;
        u8      bss_ccx_ver_number;
        /* These are network statistics */
        struct rtllib_rx_stats stats;
index 480d4bf8df4f6df0e90a991c3c77f703a0209a7f..2d0a0efedc97eaadb1726da2e49c446ac7f3cdbe 100644 (file)
@@ -1836,10 +1836,10 @@ static void rtllib_parse_mife_generic(struct rtllib_device *ieee,
            info_element->data[2] == 0x96 &&
            info_element->data[3] == 0x03) {
                if (info_element->len == 5) {
-                       network->bWithCcxVerNum = true;
+                       network->with_ccx_ver_num = true;
                        network->bss_ccx_ver_number = info_element->data[4];
                } else {
-                       network->bWithCcxVerNum = false;
+                       network->with_ccx_ver_num = false;
                        network->bss_ccx_ver_number = 0;
                }
        }
@@ -2349,7 +2349,7 @@ static inline void update_network(struct rtllib_device *ieee,
        dst->mb_ssid_mask = src->mb_ssid_mask;
        dst->mb_ssid_valid = src->mb_ssid_valid;
        memcpy(dst->mb_ssid, src->mb_ssid, 6);
-       dst->bWithCcxVerNum = src->bWithCcxVerNum;
+       dst->with_ccx_ver_num = src->with_ccx_ver_num;
        dst->bss_ccx_ver_number = src->bss_ccx_ver_number;
 }