summaryrefslogtreecommitdiff
path: root/drivers/staging
diff options
context:
space:
mode:
authorTree Davies <tdavies@darkphysics.net>2024-02-27 07:41:40 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2024-03-05 17:15:08 +0300
commit020d29db332275a6bcfad25308c7c4ad7a633cf9 (patch)
tree1254b9b749305508353f9415ac7b2cbfdc505db5 /drivers/staging
parent9f965f1efc26c8ff65d02473d985852d181dff6a (diff)
downloadlinux-020d29db332275a6bcfad25308c7c4ad7a633cf9.tar.xz
Staging: rtl8192e: Rename function SecIsInPMKIDList()
Rename function SecIsInPMKIDList to sec_is_in_pmkid_list 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-4-tdavies@darkphysics.net Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging')
-rw-r--r--drivers/staging/rtl8192e/rtllib_softmac.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/rtl8192e/rtllib_softmac.c b/drivers/staging/rtl8192e/rtllib_softmac.c
index 83f337e27209..607122ab4b00 100644
--- a/drivers/staging/rtl8192e/rtllib_softmac.c
+++ b/drivers/staging/rtl8192e/rtllib_softmac.c
@@ -664,7 +664,7 @@ static struct sk_buff *rtllib_pspoll_func(struct rtllib_device *ieee)
return skb;
}
-static inline int SecIsInPMKIDList(struct rtllib_device *ieee, u8 *bssid)
+static inline int sec_is_in_pmkid_list(struct rtllib_device *ieee, u8 *bssid)
{
int i = 0;
@@ -747,7 +747,7 @@ rtllib_association_req(struct rtllib_network *beacon,
if (beacon->BssCcxVerNumber >= 2)
cxvernum_ie_len = 5 + 2;
- pmk_cache_idx = SecIsInPMKIDList(ieee, ieee->current_network.bssid);
+ pmk_cache_idx = sec_is_in_pmkid_list(ieee, ieee->current_network.bssid);
if (pmk_cache_idx >= 0) {
wpa_ie_len += 18;
netdev_info(ieee->dev, "[PMK cache]: WPA2 IE length: %x\n",