staging: r8188eu: rename variable within rtl8188e_Add_RateATid
authorPhillip Potter <phil@philpotter.co.uk>
Wed, 18 Aug 2021 18:08:31 +0000 (19:08 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 18 Aug 2021 20:39:13 +0000 (22:39 +0200)
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>
drivers/staging/r8188eu/hal/rtl8188e_cmd.c

index cc06ee0..3e1a450 100644 (file)
@@ -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)