summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPhillip Potter <phil@philpotter.co.uk>2021-08-18 19:08:31 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-08-18 22:39:13 +0200
commit92791836cb7d79bba66389daed57d4d92783f01e (patch)
tree539f6ef28747a15d38d0e00795de8774e7c9cff6
parent1fd6d8ffad4a6ffd38d79e42c15472c4ff6332f7 (diff)
downloadlinux-92791836cb7d79bba66389daed57d4d92783f01e.tar.bz2
staging: r8188eu: rename variable within rtl8188e_Add_RateATid
Rename 'shortGIrate' within the rtl8188e_Add_RateATid function to 'short_gi_rate', to comply with kernel camel case style rules. Signed-off-by: Phillip Potter <phil@philpotter.co.uk> Link: https://lore.kernel.org/r/20210818180831.67581-1-phil@philpotter.co.uk Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--drivers/staging/r8188eu/hal/rtl8188e_cmd.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/staging/r8188eu/hal/rtl8188e_cmd.c b/drivers/staging/r8188eu/hal/rtl8188e_cmd.c
index cc06ee07974f..3e1a45030bc8 100644
--- a/drivers/staging/r8188eu/hal/rtl8188e_cmd.c
+++ b/drivers/staging/r8188eu/hal/rtl8188e_cmd.c
@@ -155,7 +155,7 @@ void rtl8188e_Add_RateATid(struct adapter *pAdapter, u32 bitmap, u8 arg, u8 rssi
{
struct hal_data_8188e *haldata = GET_HAL_DATA(pAdapter);
- u8 macid, raid, shortGIrate = false;
+ u8 macid, raid, short_gi_rate = false;
macid = arg & 0x1f;
@@ -167,13 +167,13 @@ void rtl8188e_Add_RateATid(struct adapter *pAdapter, u32 bitmap, u8 arg, u8 rssi
bitmap |= ((raid << 28) & 0xf0000000);
- shortGIrate = (arg & BIT(5)) ? true : false;
+ short_gi_rate = (arg & BIT(5)) ? true : false;
raid = (bitmap >> 28) & 0x0f;
bitmap &= 0x0fffffff;
- ODM_RA_UpdateRateInfo_8188E(&haldata->odmpriv, macid, raid, bitmap, shortGIrate);
+ ODM_RA_UpdateRateInfo_8188E(&haldata->odmpriv, macid, raid, bitmap, short_gi_rate);
}
void rtl8188e_set_FwPwrMode_cmd(struct adapter *adapt, u8 Mode)