Staging: rtl8192e: Rename variable bUsed
authorTree Davies <tdavies@darkphysics.net>
Mon, 25 Dec 2023 20:23:09 +0000 (12:23 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 4 Jan 2024 13:34:50 +0000 (14:34 +0100)
Rename variable bUsed to used to fix checkpatch warning Avoid CamelCase.

Signed-off-by: Tree Davies <tdavies@darkphysics.net>
Link: https://lore.kernel.org/r/20231225202314.31869-2-tdavies@darkphysics.net
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8192e/rtllib.h
drivers/staging/rtl8192e/rtllib_softmac.c

index 63217444ba65d91126eaf98b28c4a8f3dcc1f788..c509018b572325dc7c32126f8d10119bc2c37261 100644 (file)
@@ -1164,7 +1164,7 @@ struct rt_pmkid_list {
        u8 Bssid[ETH_ALEN];
        u8 PMKID[16];
        u8 SsidBuf[33];
-       u8 bUsed;
+       u8 used;
 };
 
 /*************** DRIVER STATUS   *****/
index cd5b799bcadea87b22d3046c99bd479ec3d89a54..d4c97f0a499c9f91c26ebbeacefb66a99871e47e 100644 (file)
@@ -670,7 +670,7 @@ static inline int SecIsInPMKIDList(struct rtllib_device *ieee, u8 *bssid)
        int i = 0;
 
        do {
-               if ((ieee->PMKIDList[i].bUsed) &&
+               if ((ieee->PMKIDList[i].used) &&
                   (memcmp(ieee->PMKIDList[i].Bssid, bssid, ETH_ALEN) == 0))
                        break;
                i++;