]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
Staging: rtl8192e: Rename variable bWithAironetIE
authorTree Davies <tdavies@darkphysics.net>
Tue, 21 May 2024 03:16:51 +0000 (20:16 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 4 Jun 2024 11:16:19 +0000 (13:16 +0200)
Rename variable bWithAironetIE to with_aironet_ie
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-5-tdavies@darkphysics.net
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8192e/rtllib.h
drivers/staging/rtl8192e/rtllib_rx.c

index cae4df481397d18625ecd561de50ac6d4e117c5f..40ec29434d682c0c91310a56c14916cf22052079 100644 (file)
@@ -910,7 +910,7 @@ struct rtllib_network {
        u8 hidden_ssid_len;
        struct rtllib_qos_data qos_data;
 
-       bool    bWithAironetIE;
+       bool    with_aironet_ie;
        bool    ckip_supported;
        bool    ccx_rm_enable;
        u8      CcxRmState[2];
index 1cae6d6efb96f344f87d3dd219de6e107f92e279..d4dbf8052c30653d7c98184abbb68d12e25c6b3e 100644 (file)
@@ -2090,7 +2090,7 @@ int rtllib_parse_info_param(struct rtllib_device *ieee,
                        netdev_dbg(ieee->dev, "MFIE_TYPE_AIRONET: %d bytes\n",
                                   info_element->len);
                        if (info_element->len > IE_CISCO_FLAG_POSITION) {
-                               network->bWithAironetIE = true;
+                               network->with_aironet_ie = true;
 
                                if ((info_element->data[IE_CISCO_FLAG_POSITION]
                                     & SUPPORT_CKIP_MIC) ||
@@ -2100,7 +2100,7 @@ int rtllib_parse_info_param(struct rtllib_device *ieee,
                                else
                                        network->ckip_supported = false;
                        } else {
-                               network->bWithAironetIE = false;
+                               network->with_aironet_ie = false;
                                network->ckip_supported = false;
                        }
                        break;
@@ -2345,7 +2345,7 @@ static inline void update_network(struct rtllib_device *ieee,
        dst->country_ie_len = src->country_ie_len;
        memcpy(dst->country_ie_buf, src->country_ie_buf, src->country_ie_len);
 
-       dst->bWithAironetIE = src->bWithAironetIE;
+       dst->with_aironet_ie = src->with_aironet_ie;
        dst->ckip_supported = src->ckip_supported;
        memcpy(dst->CcxRmState, src->CcxRmState, 2);
        dst->ccx_rm_enable = src->ccx_rm_enable;