Commit d6171fe9 authored by Gary Rookard's avatar Gary Rookard Committed by Greg Kroah-Hartman

staging: rtl8192e: renamed variable HTIOTPeerDetermine

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: default avatarGary Rookard <garyrookard@fastmail.org>
Tested-by: default avatarPhilipp Hortmann <philipp.g.hortmann@gmail.com>
Link: https://lore.kernel.org/r/20231123144337.13112-5-garyrookard@fastmail.orgSigned-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent ea6df150
...@@ -164,7 +164,7 @@ bool is_ht_half_nmode_aps(struct rtllib_device *ieee) ...@@ -164,7 +164,7 @@ bool is_ht_half_nmode_aps(struct rtllib_device *ieee)
return retValue; 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 rt_hi_throughput *ht_info = ieee->ht_info;
struct rtllib_network *net = &ieee->current_network; struct rtllib_network *net = &ieee->current_network;
...@@ -672,7 +672,7 @@ void HTResetSelfAndSavePeerSetting(struct rtllib_device *ieee, ...@@ -672,7 +672,7 @@ void HTResetSelfAndSavePeerSetting(struct rtllib_device *ieee,
ht_info->RT2RT_HT_Mode = (enum rt_ht_capability)0; ht_info->RT2RT_HT_Mode = (enum rt_ht_capability)0;
} }
HTIOTPeerDetermine(ieee); ht_iot_peer_determine(ieee);
ht_info->iot_action = 0; ht_info->iot_action = 0;
bIOTAction = HTIOTActIsMgntUseCCK6M(ieee, pNetwork); bIOTAction = HTIOTActIsMgntUseCCK6M(ieee, pNetwork);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment