Staging: rtl8192e: Rename function SecIsInPMKIDList()
authorTree Davies <tdavies@darkphysics.net>
Tue, 27 Feb 2024 04:41:40 +0000 (20:41 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 5 Mar 2024 14:15:08 +0000 (14:15 +0000)
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>
drivers/staging/rtl8192e/rtllib_softmac.c

index 83f337e2720923acf7380dfa8952952b7f72a7f6..607122ab4b00a2dd5944a5352ad88ca780100215 100644 (file)
@@ -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",