lkml.org 
[lkml]   [2023]   [Oct]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH] staging: rtl8192e: renamed variable HTIOTActIsDisableMCSTwoSpatialStream
Date
Renamed from Pascal/Code to Snake case the variable
HTIOTActIsDisableTwoSpatialStream,
HTIOTActIsDisableMCSTwoSpatialStream ->
ht_iot_act_is_disable_mcs_two_spatial_stream.

Linux kernel coding style (cleanup), checkpatch Avoid CamelCase.
Driver rtl8192e compiles.

Signed-off-by: Gary Rookard <garyrookard@fastmail.org>
---
drivers/staging/rtl8192e/rtl819x_HTProc.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/staging/rtl8192e/rtl819x_HTProc.c b/drivers/staging/rtl8192e/rtl819x_HTProc.c
index 8868672131a1..e9d369df9a70 100644
--- a/drivers/staging/rtl8192e/rtl819x_HTProc.c
+++ b/drivers/staging/rtl8192e/rtl819x_HTProc.c
@@ -217,7 +217,7 @@ static bool ht_iot_act_is_disable_mcs15(struct rtllib_device *ieee)
return false;
}

-static bool HTIOTActIsDisableMCSTwoSpatialStream(struct rtllib_device *ieee)
+static bool ht_iot_act_is_disable_mcs_two_spatial_stream(struct rtllib_device *ieee)
{
return false;
}
@@ -704,7 +704,7 @@ void HTResetSelfAndSavePeerSetting(struct rtllib_device *ieee,
if (bIOTAction)
ht_info->iot_action |= HT_IOT_ACT_DISABLE_MCS15;

- bIOTAction = HTIOTActIsDisableMCSTwoSpatialStream(ieee);
+ bIOTAction = ht_iot_act_is_diable_mcs_two_spatial_stream(ieee);
if (bIOTAction)
ht_info->iot_action |= HT_IOT_ACT_DISABLE_ALL_2SS;

--
2.41.0
\
 
 \ /
  Last update: 2023-10-22 02:28    [W:0.028 / U:2.420 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site