mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-01 06:33:07 +00:00
staging: rtl8192e: renamed variable HTUpdateDefaultSetting
Renamed from Pascal/CamelCase to Snake case the variable HTUpdateDefaultSetting, HTUpateDefaultSetting -> ht_update_default_setting Linux kernel coding style (cleanup), checkpatch Avoid CamelCase. Driver rtl8192e compiles. Signed-off-by: Gary Rookard <garyrookard@fastmail.org> Link: https://lore.kernel.org/r/20231021014759.29844-1-garyrookard@fastmail.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
3cad0b9d0b
commit
218f1c1402
3 changed files with 3 additions and 3 deletions
|
@ -67,7 +67,7 @@ static u8 CISCO_BROADCOM[3] = {0x00, 0x17, 0x94};
|
|||
|
||||
static u8 LINKSYS_MARVELL_4400N[3] = {0x00, 0x14, 0xa4};
|
||||
|
||||
void HTUpdateDefaultSetting(struct rtllib_device *ieee)
|
||||
void ht_update_default_setting(struct rtllib_device *ieee)
|
||||
{
|
||||
struct rt_hi_throughput *ht_info = ieee->ht_info;
|
||||
|
||||
|
|
|
@ -1762,7 +1762,7 @@ int rtllib_wx_get_rts(struct rtllib_device *ieee, struct iw_request_info *info,
|
|||
void HTSetConnectBwMode(struct rtllib_device *ieee,
|
||||
enum ht_channel_width bandwidth,
|
||||
enum ht_extchnl_offset Offset);
|
||||
void HTUpdateDefaultSetting(struct rtllib_device *ieee);
|
||||
void ht_update_default_setting(struct rtllib_device *ieee);
|
||||
void HTConstructCapabilityElement(struct rtllib_device *ieee,
|
||||
u8 *posHTCap, u8 *len,
|
||||
u8 isEncrypt, bool bAssoc);
|
||||
|
|
|
@ -122,7 +122,7 @@ struct net_device *alloc_rtllib(int sizeof_priv)
|
|||
if (!ieee->ht_info)
|
||||
goto free_softmac;
|
||||
|
||||
HTUpdateDefaultSetting(ieee);
|
||||
ht_update_default_setting(ieee);
|
||||
HTInitializeHTInfo(ieee);
|
||||
rtllib_ts_init(ieee);
|
||||
for (i = 0; i < IEEE_IBSS_MAC_HASH_SIZE; i++)
|
||||
|
|
Loading…
Reference in a new issue