Staging: vt6655: Replace a camel case variable name
authorYujia Qiao <rapiz@foxmail.com>
Thu, 11 Feb 2021 03:12:39 +0000 (11:12 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 11 Feb 2021 11:13:53 +0000 (12:13 +0100)
Replace camel case variable names with snake case in baseband.c.

Signed-off-by: Yujia Qiao <rapiz@foxmail.com>
Link: https://lore.kernel.org/r/tencent_21CFC58E6013D47A55691E4F4C6C4CF20706@qq.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vt6655/baseband.c

index 6b25d75..1aa6752 100644 (file)
@@ -1683,7 +1683,7 @@ static unsigned char byVT3253B0_AGC[CB_VT3253B0_AGC][2] = {
        {0xF0, 0x00},
 };
 
-static const unsigned short awcFrameTime[MAX_RATE] = {
+static const unsigned short awc_frame_time[MAX_RATE] = {
                10, 20, 55, 110, 24, 36, 48, 72, 96, 144, 192, 216
 };
 
@@ -1716,7 +1716,7 @@ unsigned int bb_get_frame_time(unsigned char by_preamble_type,
        if (rate_idx > RATE_54M)
                return 0;
 
-       rate = (unsigned int)awcFrameTime[rate_idx];
+       rate = (unsigned int)awc_frame_time[rate_idx];
 
        if (rate_idx <= 3) {                /* CCK mode */
                if (by_preamble_type == 1) /* Short */