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

staging: rtl8192e: renamed variable bAMSDU_Support

Coding style issue, checkpatch Avoid CamelCase,
rename it. bAMSDU_Suppport -> amsdu_support
Signed-off-by: default avatarGary Rookard <garyrookard@fastmail.org>
Link: https://lore.kernel.org/r/20231206230404.1721-2-garyrookard@fastmail.orgSigned-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 6cb31589
...@@ -107,7 +107,7 @@ struct rt_hi_throughput { ...@@ -107,7 +107,7 @@ struct rt_hi_throughput {
struct ht_info_ele SelfHTInfo; struct ht_info_ele SelfHTInfo;
u8 PeerHTCapBuf[32]; u8 PeerHTCapBuf[32];
u8 PeerHTInfoBuf[32]; u8 PeerHTInfoBuf[32];
u8 bAMSDU_Support; u8 amsdu_support;
u16 amsdu_max_size; u16 amsdu_max_size;
u8 bCurrent_AMSDU_Support; u8 bCurrent_AMSDU_Support;
u16 nCurrent_AMSDU_MaxSize; u16 nCurrent_AMSDU_MaxSize;
......
...@@ -82,7 +82,7 @@ void ht_update_default_setting(struct rtllib_device *ieee) ...@@ -82,7 +82,7 @@ void ht_update_default_setting(struct rtllib_device *ieee)
ht_info->reg_supp_cck = true; ht_info->reg_supp_cck = true;
ht_info->amsdu_max_size = 7935UL; ht_info->amsdu_max_size = 7935UL;
ht_info->bAMSDU_Support = 0; ht_info->amsdu_support = 0;
ht_info->bAMPDUEnable = 1; ht_info->bAMPDUEnable = 1;
ht_info->AMPDU_Factor = 2; ht_info->AMPDU_Factor = 2;
...@@ -489,7 +489,7 @@ void HTOnAssocRsp(struct rtllib_device *ieee) ...@@ -489,7 +489,7 @@ void HTOnAssocRsp(struct rtllib_device *ieee)
((pPeerHTCap->DssCCk == 1) ? true : ((pPeerHTCap->DssCCk == 1) ? true :
false) : false); false) : false);
ht_info->bCurrent_AMSDU_Support = ht_info->bAMSDU_Support; ht_info->bCurrent_AMSDU_Support = ht_info->amsdu_support;
nMaxAMSDUSize = (pPeerHTCap->MaxAMSDUSize == 0) ? 3839 : 7935; nMaxAMSDUSize = (pPeerHTCap->MaxAMSDUSize == 0) ? 3839 : 7935;
......
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