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

index 51047f014c0fc8c28914bfff058d301182f0db5c..cba3f7e7fb8500cae820929826bfe1f7ac5d1403 100644 (file)
@@ -911,7 +911,7 @@ struct rtllib_network {
        struct rtllib_qos_data qos_data;
 
        bool    bWithAironetIE;
-       bool    bCkipSupported;
+       bool    ckip_supported;
        bool    bCcxRmEnable;
        u8      CcxRmState[2];
        bool    bMBssidValid;
index a258f22787bed23ce445f3dad7a203a8eb19c472..a6e97ca6a7834bc768b1b01ee9b03315b8230237 100644 (file)
@@ -2096,12 +2096,12 @@ int rtllib_parse_info_param(struct rtllib_device *ieee,
                                     & SUPPORT_CKIP_MIC) ||
                                     (info_element->data[IE_CISCO_FLAG_POSITION]
                                     & SUPPORT_CKIP_PK))
-                                       network->bCkipSupported = true;
+                                       network->ckip_supported = true;
                                else
-                                       network->bCkipSupported = false;
+                                       network->ckip_supported = false;
                        } else {
                                network->bWithAironetIE = false;
-                               network->bCkipSupported = false;
+                               network->ckip_supported = false;
                        }
                        break;
                case MFIE_TYPE_QOS_PARAMETER:
@@ -2346,7 +2346,7 @@ static inline void update_network(struct rtllib_device *ieee,
        memcpy(dst->CountryIeBuf, src->CountryIeBuf, src->CountryIeLen);
 
        dst->bWithAironetIE = src->bWithAironetIE;
-       dst->bCkipSupported = src->bCkipSupported;
+       dst->ckip_supported = src->ckip_supported;
        memcpy(dst->CcxRmState, src->CcxRmState, 2);
        dst->bCcxRmEnable = src->bCcxRmEnable;
        dst->MBssidMask = src->MBssidMask;
index c3f37e71d61451c50d3d382fe921a4588572a0a7..0915f4f8761f90349c49832e086ba209d927f2cd 100644 (file)
@@ -740,7 +740,7 @@ rtllib_association_req(struct rtllib_network *beacon,
                }
        }
 
-       if (beacon->bCkipSupported)
+       if (beacon->ckip_supported)
                ckip_ie_len = 30 + 2;
        if (beacon->bCcxRmEnable)
                ccxrm_ie_len = 6 + 2;
@@ -817,7 +817,7 @@ rtllib_association_req(struct rtllib_network *beacon,
                        *tag++ = beacon->rates_ex[i];
        }
 
-       if (beacon->bCkipSupported) {
+       if (beacon->ckip_supported) {
                static const u8 AironetIeOui[] = {0x00, 0x01, 0x66};
                u8      CcxAironetBuf[30];
                struct octet_string osCcxAironetIE;