diff options
author | Tree Davies <tdavies@darkphysics.net> | 2024-02-27 07:41:39 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2024-03-05 17:15:08 +0300 |
commit | 9f965f1efc26c8ff65d02473d985852d181dff6a (patch) | |
tree | 9cd6350de78e6e0e074652f8de06e057f1a4ae0b /drivers/staging/rtl8192e/rtllib_softmac.c | |
parent | d1c4f17f1a1dd1be1a22e198a518e8f682f4013e (diff) | |
download | linux-9f965f1efc26c8ff65d02473d985852d181dff6a.tar.xz |
Staging: rtl8192e: Rename variable NumRecvDataInPeriod
Rename variable NumRecvDataInPeriod to num_recv_data_in_period 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-3-tdavies@darkphysics.net
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/rtl8192e/rtllib_softmac.c')
-rw-r--r-- | drivers/staging/rtl8192e/rtllib_softmac.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/staging/rtl8192e/rtllib_softmac.c b/drivers/staging/rtl8192e/rtllib_softmac.c index f12ee685e989..83f337e27209 100644 --- a/drivers/staging/rtl8192e/rtllib_softmac.c +++ b/drivers/staging/rtl8192e/rtllib_softmac.c @@ -1075,9 +1075,9 @@ static void rtllib_associate_complete_wq(void *data) ieee->current_network.beacon_interval / 500); if (ieee->link_detect_info.num_recv_bcn_in_period == 0 || - ieee->link_detect_info.NumRecvDataInPeriod == 0) { + ieee->link_detect_info.num_recv_data_in_period == 0) { ieee->link_detect_info.num_recv_bcn_in_period = 1; - ieee->link_detect_info.NumRecvDataInPeriod = 1; + ieee->link_detect_info.num_recv_data_in_period = 1; } psc->lps_idle_count = 0; ieee->link_change(ieee->dev); @@ -2071,7 +2071,7 @@ int rtllib_softmac_init(struct rtllib_device *ieee) ieee->link_detect_info.slot_index = 0; ieee->link_detect_info.slot_num = 2; ieee->link_detect_info.num_recv_bcn_in_period = 0; - ieee->link_detect_info.NumRecvDataInPeriod = 0; + ieee->link_detect_info.num_recv_data_in_period = 0; ieee->link_detect_info.num_tx_ok_in_period = 0; ieee->link_detect_info.num_rx_ok_in_period = 0; ieee->link_detect_info.num_rx_unicast_ok_in_period = 0; |