mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-04-30 18:10:59 -04:00
Staging: rtl8192e: Rename variable array Bssid
Rename variable array Bssid -> bssid to fix checkpatch warning Avoid CamelCase. Signed-off-by: Tree Davies <tdavies@darkphysics.net> Link: https://lore.kernel.org/r/20240106055556.430948-12-tdavies@darkphysics.net Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
e2bf5a27c0
commit
a89dd12730
@@ -1161,7 +1161,7 @@ struct rate_adaptive {
|
||||
|
||||
#define NUM_PMKID_CACHE 16
|
||||
struct rt_pmkid_list {
|
||||
u8 Bssid[ETH_ALEN];
|
||||
u8 bssid[ETH_ALEN];
|
||||
u8 PMKID[16];
|
||||
u8 SsidBuf[33];
|
||||
u8 used;
|
||||
|
||||
@@ -671,7 +671,7 @@ static inline int SecIsInPMKIDList(struct rtllib_device *ieee, u8 *bssid)
|
||||
|
||||
do {
|
||||
if ((ieee->PMKIDList[i].used) &&
|
||||
(memcmp(ieee->PMKIDList[i].Bssid, bssid, ETH_ALEN) == 0))
|
||||
(memcmp(ieee->PMKIDList[i].bssid, bssid, ETH_ALEN) == 0))
|
||||
break;
|
||||
i++;
|
||||
} while (i < NUM_PMKID_CACHE);
|
||||
|
||||
Reference in New Issue
Block a user