mirror of
https://github.com/torvalds/linux.git
synced 2026-06-03 12:03:54 +02:00
staging: rtl8192e: renamed variable bRegShortGI40MHz
Coding style issue, checkpatch Avoid CamelCase, rename it bRegShortGI40MHz -> reg_short_gi_40mhz Signed-off-by: Gary Rookard <garyrookard@fastmail.org> Link: https://lore.kernel.org/r/20231205231623.23070-3-garyrookard@fastmail.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
f538d35a78
commit
0e3a515206
|
|
@ -96,7 +96,7 @@ struct rt_hi_throughput {
|
|||
u8 current_ht_support;
|
||||
u8 bRegBW40MHz;
|
||||
u8 cur_bw_40mhz;
|
||||
u8 bRegShortGI40MHz;
|
||||
u8 reg_short_gi_40mhz;
|
||||
u8 bCurShortGI40MHz;
|
||||
u8 reg_short_gi_20mhz;
|
||||
u8 bCurShortGI20MHz;
|
||||
|
|
|
|||
|
|
@ -72,7 +72,7 @@ void ht_update_default_setting(struct rtllib_device *ieee)
|
|||
struct rt_hi_throughput *ht_info = ieee->ht_info;
|
||||
|
||||
ht_info->reg_short_gi_20mhz = 1;
|
||||
ht_info->bRegShortGI40MHz = 1;
|
||||
ht_info->reg_short_gi_40mhz = 1;
|
||||
|
||||
ht_info->bRegBW40MHz = 1;
|
||||
|
||||
|
|
@ -481,7 +481,7 @@ void HTOnAssocRsp(struct rtllib_device *ieee)
|
|||
ht_info->bCurShortGI20MHz = ((ht_info->reg_short_gi_20mhz) ?
|
||||
((pPeerHTCap->ShortGI20Mhz == 1) ?
|
||||
true : false) : false);
|
||||
ht_info->bCurShortGI40MHz = ((ht_info->bRegShortGI40MHz) ?
|
||||
ht_info->bCurShortGI40MHz = ((ht_info->reg_short_gi_40mhz) ?
|
||||
((pPeerHTCap->ShortGI40Mhz == 1) ?
|
||||
true : false) : false);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user