staging: rtl8192e: renamed variable HTIOTPeerDetermine
authorGary Rookard <garyrookard@fastmail.org>
Thu, 23 Nov 2023 14:43:36 +0000 (09:43 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 26 Nov 2023 10:27:08 +0000 (10:27 +0000)
Renamed from Pascal/CamelCase to Snake case the variable
HTIOTPeerDetermine.
HTIOTPeerDetermine -> ht_iot_peer_determine

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

Signed-off-by: Gary Rookard <garyrookard@fastmail.org>
Tested-by: Philipp Hortmann <philipp.g.hortmann@gmail.com>
Link: https://lore.kernel.org/r/20231123144337.13112-5-garyrookard@fastmail.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8192e/rtl819x_HTProc.c

index 022b694eeef33546dc48600563c67ee58728cf10..99721e1a604a5140a13479b7f2260eeca2a60be1 100644 (file)
@@ -164,7 +164,7 @@ bool is_ht_half_nmode_aps(struct rtllib_device *ieee)
        return retValue;
 }
 
-static void HTIOTPeerDetermine(struct rtllib_device *ieee)
+static void ht_iot_peer_determine(struct rtllib_device *ieee)
 {
        struct rt_hi_throughput *ht_info = ieee->ht_info;
        struct rtllib_network *net = &ieee->current_network;
@@ -672,7 +672,7 @@ void HTResetSelfAndSavePeerSetting(struct rtllib_device *ieee,
                        ht_info->RT2RT_HT_Mode = (enum rt_ht_capability)0;
                }
 
-               HTIOTPeerDetermine(ieee);
+               ht_iot_peer_determine(ieee);
 
                ht_info->iot_action = 0;
                bIOTAction = HTIOTActIsMgntUseCCK6M(ieee, pNetwork);