Staging: rtl8192e: Rename function rtllib_MFIE_Brate()
authorTree Davies <tdavies@darkphysics.net>
Sat, 23 Dec 2023 01:59:34 +0000 (17:59 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 23 Dec 2023 13:10:52 +0000 (14:10 +0100)
Rename function rtllib_MFIE_Brate to rtllib_mfie_brate to fix checkpatch
warning Avoid CamelCase.

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

index 67638d7c71ce231e8dee526177bc2030ff8e4a79..253ff5a76aeca522617b84bbb7f304d9a369568a 100644 (file)
@@ -44,7 +44,7 @@ static unsigned int rtllib_MFIE_rate_len(struct rtllib_device *ieee)
  * Then it updates the pointer so that
  * it points after the new MFIE tag added.
  */
-static void rtllib_MFIE_Brate(struct rtllib_device *ieee, u8 **tag_p)
+static void rtllib_mfie_brate(struct rtllib_device *ieee, u8 **tag_p)
 {
        u8 *tag = *tag_p;
 
@@ -341,7 +341,7 @@ static inline struct sk_buff *rtllib_probe_req(struct rtllib_device *ieee)
        memcpy(tag, ieee->current_network.ssid, len);
        tag += len;
 
-       rtllib_MFIE_Brate(ieee, &tag);
+       rtllib_mfie_brate(ieee, &tag);
        rtllib_MFIE_Grate(ieee, &tag);
 
        return skb;