]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
Staging: rtl8192e: Rename variable RxReorderIndicatePacket
authorTree Davies <tdavies@darkphysics.net>
Tue, 21 May 2024 03:16:59 +0000 (20:16 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 4 Jun 2024 11:16:20 +0000 (13:16 +0200)
Rename variable RxReorderIndicatePacket to
rx_reorder_indicate_packet 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-13-tdavies@darkphysics.net
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8192e/rtllib_rx.c

index 24136bba64b60698f6ece4445cec8a992c52618b..a30945f30e1484da3feec5eb0dcab15ec84dd334 100644 (file)
@@ -520,7 +520,7 @@ void rtllib_flush_rx_ts_pending_pkts(struct rtllib_device *ieee,
        ts->rx_indicate_seq = 0xffff;
 }
 
-static void RxReorderIndicatePacket(struct rtllib_device *ieee,
+static void rx_reorder_indicate_packet(struct rtllib_device *ieee,
                                    struct rtllib_rxb *prxb,
                                    struct rx_ts_record *ts, u16 SeqNum)
 {
@@ -1366,7 +1366,7 @@ static int rtllib_rx_infra_adhoc(struct rtllib_device *ieee, struct sk_buff *skb
        if (!ieee->ht_info->cur_rx_reorder_enable || !ts)
                rtllib_rx_indicate_pkt_legacy(ieee, rx_stats, rxb, dst, src);
        else
-               RxReorderIndicatePacket(ieee, rxb, ts, SeqNum);
+               rx_reorder_indicate_packet(ieee, rxb, ts, SeqNum);
 
        dev_kfree_skb(skb);