Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

staging: rtl8192e: rename variable ePeerHTSpecVer

Coding style issue, checkpatch Avoid CamelCase,
rename it. ePeerHTSpecVer -> peer_ht_spec_ver

Signed-off-by: Gary Rookard <garyrookard@fastmail.org>
Link: https://lore.kernel.org/r/20231221183413.8349-6-garyrookard@fastmail.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Gary Rookard and committed by
Greg Kroah-Hartman
93235f62 35350898

+6 -6
+1 -1
drivers/staging/rtl8192e/rtl819x_HT.h
··· 97 97 u8 cur_bw_40mhz; 98 98 u8 cur_short_gi_40mhz; 99 99 u8 cur_short_gi_20mhz; 100 - enum ht_spec_ver ePeerHTSpecVer; 100 + enum ht_spec_ver peer_ht_spec_ver; 101 101 struct ht_capab_ele SelfHTCap; 102 102 u8 PeerHTCapBuf[32]; 103 103 u8 PeerHTInfoBuf[32];
+3 -3
drivers/staging/rtl8192e/rtl819x_HTProc.c
··· 240 240 } 241 241 memset(pos_ht_cap, 0, *len); 242 242 243 - if ((assoc) && (ht->ePeerHTSpecVer == HT_SPEC_VER_EWC)) { 243 + if ((assoc) && (ht->peer_ht_spec_ver == HT_SPEC_VER_EWC)) { 244 244 static const u8 EWC11NHTCap[] = { 0x00, 0x90, 0x4c, 0x33 }; 245 245 246 246 memcpy(pos_ht_cap, EWC11NHTCap, sizeof(EWC11NHTCap)); ··· 525 525 526 526 ht_info->sw_bw_in_progress = false; 527 527 528 - ht_info->ePeerHTSpecVer = HT_SPEC_VER_IEEE; 528 + ht_info->peer_ht_spec_ver = HT_SPEC_VER_IEEE; 529 529 530 530 ht_info->current_rt2rt_aggregation = false; 531 531 ht_info->current_rt2rt_long_slot_time = false; ··· 569 569 */ 570 570 if (pNetwork->bssht.bd_support_ht) { 571 571 ht_info->current_ht_support = true; 572 - ht_info->ePeerHTSpecVer = pNetwork->bssht.bd_ht_spec_ver; 572 + ht_info->peer_ht_spec_ver = pNetwork->bssht.bd_ht_spec_ver; 573 573 574 574 if (pNetwork->bssht.bd_ht_cap_len > 0 && 575 575 pNetwork->bssht.bd_ht_cap_len <= sizeof(ht_info->PeerHTCapBuf))
+2 -2
drivers/staging/rtl8192e/rtllib_softmac.c
··· 866 866 tag += osCcxVerNum.Length; 867 867 } 868 868 if (ieee->ht_info->current_ht_support && ieee->ht_info->enable_ht) { 869 - if (ieee->ht_info->ePeerHTSpecVer != HT_SPEC_VER_EWC) { 869 + if (ieee->ht_info->peer_ht_spec_ver != HT_SPEC_VER_EWC) { 870 870 tag = skb_put(skb, ht_cap_len); 871 871 *tag++ = MFIE_TYPE_HT_CAP; 872 872 *tag++ = ht_cap_len - 2; ··· 900 900 } 901 901 902 902 if (ieee->ht_info->current_ht_support && ieee->ht_info->enable_ht) { 903 - if (ieee->ht_info->ePeerHTSpecVer == HT_SPEC_VER_EWC) { 903 + if (ieee->ht_info->peer_ht_spec_ver == HT_SPEC_VER_EWC) { 904 904 tag = skb_put(skb, ht_cap_len); 905 905 *tag++ = MFIE_TYPE_GENERIC; 906 906 *tag++ = ht_cap_len - 2;