[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20231021232957.9815-1-garyrookard@fastmail.org>
Date: Sat, 21 Oct 2023 19:29:57 -0400
From: Gary Rookard <garyrookard@...tmail.org>
To: gregkh@...uxfoundation.org
Cc: philipp.g.hortmann@...il.com, linux-staging@...ts.linux.dev,
linux-kernel@...r.kernel.org,
Gary Rookard <garyrookard@...tmail.org>
Subject: [PATCH] staging: rtl8192e: renamed variable HTIOTActIsDisable
Renamed from Pascal/CamelCase to Snake case the variable
HTIOTActIsDisable, HTIOTActIsDisable -> ht-iot_act_is_disable
Linux kernel coding style (cleanup), checkpatch Avoid CamelCase.
Driver rtl8192e compiles.
Signed-off-by: Gary Rookard <garyrookard@...tmail.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 8522a3594848..5dca97b07874 100644
--- a/drivers/staging/rtl8192e/rtl819x_HTProc.c
+++ b/drivers/staging/rtl8192e/rtl819x_HTProc.c
@@ -207,7 +207,7 @@ static void ht_iot_peer_determine(struct rtllib_device *ieee)
netdev_dbg(ieee->dev, "IOTPEER: %x\n", ht_info->IOTPeer);
}
-static u8 HTIOTActIsDisableMCS14(struct rtllib_device *ieee, u8 *PeerMacAddr)
+static u8 ht_iot_act_is_disable_mcs14(struct rtllib_device *ieee, u8 *PeerMacAddr)
{
return 0;
}
@@ -696,7 +696,7 @@ void HTResetSelfAndSavePeerSetting(struct rtllib_device *ieee,
ht_iot_peer_determine(ieee);
ht_info->iot_action = 0;
- bIOTAction = HTIOTActIsDisableMCS14(ieee, pNetwork->bssid);
+ bIOTAction = ht_iot_act_is_disable_mcs14(ieee, pNetwork->bssid);
if (bIOTAction)
ht_info->iot_action |= HT_IOT_ACT_DISABLE_MCS14;
--
2.41.0
Powered by blists - more mailing lists