]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
Staging: rtl8192e: Rename variable rtllib_rx_InfraAdhoc
authorTree Davies <tdavies@darkphysics.net>
Tue, 21 May 2024 03:16:57 +0000 (20:16 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 4 Jun 2024 11:16:20 +0000 (13:16 +0200)
Rename variable rtllib_rx_InfraAdhoc to rtllib_rx_infra_adhoc
to fix checkpatch warning Avoid CamelCase.

Signed-off-by: Tree Davies <tdavies@darkphysics.net>
Tested-by: Philipp Hortmann <philipp.g.hortmann@gmail.com>
Reviewed-by: Dan Carpenter <dan.carpenter@linaro.org>
Link: https://lore.kernel.org/r/20240521031718.17852-11-tdavies@darkphysics.net
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8192e/rtllib_rx.c

index 108fe1520cf9c40b7b09973001145444897d73fd..ea8cab9707bc398c9dd5dd5b5cf91fd79e116cee 100644 (file)
@@ -1223,7 +1223,7 @@ static void rtllib_rx_indicate_pkt_legacy(struct rtllib_device *ieee,
        kfree(rxb);
 }
 
-static int rtllib_rx_InfraAdhoc(struct rtllib_device *ieee, struct sk_buff *skb,
+static int rtllib_rx_infra_adhoc(struct rtllib_device *ieee, struct sk_buff *skb,
                 struct rtllib_rx_stats *rx_stats)
 {
        struct net_device *dev = ieee->dev;
@@ -1431,7 +1431,7 @@ int rtllib_rx(struct rtllib_device *ieee, struct sk_buff *skb,
 
        switch (ieee->iw_mode) {
        case IW_MODE_INFRA:
-               ret = rtllib_rx_InfraAdhoc(ieee, skb, rx_stats);
+               ret = rtllib_rx_infra_adhoc(ieee, skb, rx_stats);
                break;
        case IW_MODE_MONITOR:
                ret = rtllib_rx_monitor(ieee, skb, rx_stats);