diff options
author | Tree Davies <tdavies@darkphysics.net> | 2024-01-27 01:30:52 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2024-02-17 19:28:17 +0300 |
commit | 6b7a8b468befd36890e6d333c85d200c610f8121 (patch) | |
tree | f1a0f0356bd50ca5cca7b29205cccbf025776257 /drivers/staging/rtl8192e/rtllib_softmac.c | |
parent | 808f35c4e635e54c4b3e205cb5b54bd1ed47cdc9 (diff) | |
download | linux-6b7a8b468befd36890e6d333c85d200c610f8121.tar.xz |
Staging: rtl8192e: Rename variable LPSDelayCnt
Rename variable LPSDelayCnt to lps_delay_cnt to fix checkpatch
warning Avoid CamelCase.
Signed-off-by: Tree Davies <tdavies@darkphysics.net>
Link: https://lore.kernel.org/r/20240126223106.986093-5-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 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/rtl8192e/rtllib_softmac.c b/drivers/staging/rtl8192e/rtllib_softmac.c index 8a60bf3b7079..b5cd030f28c8 100644 --- a/drivers/staging/rtl8192e/rtllib_softmac.c +++ b/drivers/staging/rtl8192e/rtllib_softmac.c @@ -1351,8 +1351,8 @@ static short rtllib_sta_ps_sleep(struct rtllib_device *ieee, u64 *time) u8 dtim; struct rt_pwr_save_ctrl *psc = &ieee->pwr_save_ctrl; - if (ieee->LPSDelayCnt) { - ieee->LPSDelayCnt--; + if (ieee->lps_delay_cnt) { + ieee->lps_delay_cnt--; return 0; } |