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@xxxxxxxxxxxx> --- 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