Commit d65a2fc0 authored by Tree Davies's avatar Tree Davies Committed by Greg Kroah-Hartman

Staging: rtl8192e: Rename variable bUsed

Rename variable bUsed to used to fix checkpatch warning Avoid CamelCase.
Signed-off-by: default avatarTree Davies <tdavies@darkphysics.net>
Link: https://lore.kernel.org/r/20231225202314.31869-2-tdavies@darkphysics.netSigned-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent fbfb131e
...@@ -1164,7 +1164,7 @@ struct rt_pmkid_list { ...@@ -1164,7 +1164,7 @@ struct rt_pmkid_list {
u8 Bssid[ETH_ALEN]; u8 Bssid[ETH_ALEN];
u8 PMKID[16]; u8 PMKID[16];
u8 SsidBuf[33]; u8 SsidBuf[33];
u8 bUsed; u8 used;
}; };
/*************** DRIVER STATUS *****/ /*************** DRIVER STATUS *****/
......
...@@ -670,7 +670,7 @@ static inline int SecIsInPMKIDList(struct rtllib_device *ieee, u8 *bssid) ...@@ -670,7 +670,7 @@ static inline int SecIsInPMKIDList(struct rtllib_device *ieee, u8 *bssid)
int i = 0; int i = 0;
do { do {
if ((ieee->PMKIDList[i].bUsed) && if ((ieee->PMKIDList[i].used) &&
(memcmp(ieee->PMKIDList[i].Bssid, bssid, ETH_ALEN) == 0)) (memcmp(ieee->PMKIDList[i].Bssid, bssid, ETH_ALEN) == 0))
break; break;
i++; i++;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment