diff options
author | Tree Davies <tdavies@darkphysics.net> | 2024-05-20 20:17:10 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2024-06-04 13:16:21 +0200 |
commit | c29e197cfb9f3e5325dc9fa78b124222168f621e (patch) | |
tree | 4c22345e5f0df0c9137708d3573316ff079ed6d1 /drivers | |
parent | 30fd4752b7fcb5bba6c75ba32b2ac8b5faaf9810 (diff) |
Staging: rtl8192e: Rename variable bMatchWinStart
Rename variable bMatchWinStart to match_win_start
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-24-tdavies@darkphysics.net
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/staging/rtl8192e/rtllib_rx.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/staging/rtl8192e/rtllib_rx.c b/drivers/staging/rtl8192e/rtllib_rx.c index 9741d351363e..7e41519d997a 100644 --- a/drivers/staging/rtl8192e/rtllib_rx.c +++ b/drivers/staging/rtl8192e/rtllib_rx.c @@ -529,7 +529,7 @@ static void rx_reorder_indicate_packet(struct rtllib_device *ieee, u8 win_size = ht_info->rx_reorder_win_size; u16 win_end = 0; u8 index = 0; - bool bMatchWinStart = false, bPktInBuf = false; + bool match_win_start = false, bPktInBuf = false; unsigned long flags; netdev_dbg(ieee->dev, @@ -567,7 +567,7 @@ static void rx_reorder_indicate_packet(struct rtllib_device *ieee, */ if (SN_EQUAL(SeqNum, ts->rx_indicate_seq)) { ts->rx_indicate_seq = (ts->rx_indicate_seq + 1) % 4096; - bMatchWinStart = true; + match_win_start = true; } else if (SN_LESS(win_end, SeqNum)) { if (SeqNum >= (win_size - 1)) ts->rx_indicate_seq = SeqNum + 1 - win_size; @@ -589,7 +589,7 @@ static void rx_reorder_indicate_packet(struct rtllib_device *ieee, * 2. All packets with SeqNum larger than or equal to * WinStart => Buffer it. */ - if (bMatchWinStart) { + if (match_win_start) { /* Current packet is going to be indicated.*/ netdev_dbg(ieee->dev, "Packets indication! IndicateSeq: %d, NewSeq: %d\n", |