staging: rtl8192e: renamed variable bAMSDU_Support
authorGary Rookard <garyrookard@fastmail.org>
Wed, 6 Dec 2023 23:04:00 +0000 (18:04 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 9 Dec 2023 14:06:47 +0000 (15:06 +0100)
Coding style issue, checkpatch Avoid CamelCase,
rename it. bAMSDU_Suppport -> amsdu_support

Signed-off-by: Gary Rookard <garyrookard@fastmail.org>
Link: https://lore.kernel.org/r/20231206230404.1721-2-garyrookard@fastmail.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8192e/rtl819x_HT.h
drivers/staging/rtl8192e/rtl819x_HTProc.c

index 5018c3905be854fc08d939aa1f1fb9ec201acb5e..e02fa40262bd6584ab0cf7bf8987f192a491aae0 100644 (file)
@@ -107,7 +107,7 @@ struct rt_hi_throughput {
        struct ht_info_ele SelfHTInfo;
        u8 PeerHTCapBuf[32];
        u8 PeerHTInfoBuf[32];
-       u8 bAMSDU_Support;
+       u8 amsdu_support;
        u16 amsdu_max_size;
        u8 bCurrent_AMSDU_Support;
        u16 nCurrent_AMSDU_MaxSize;
index 6475832f23f675b64fcbc8b18c7528fc35798958..b2f2e1c0cf6b865071123d7564f5a5a45ab962c3 100644 (file)
@@ -82,7 +82,7 @@ void ht_update_default_setting(struct rtllib_device *ieee)
                ht_info->reg_supp_cck = true;
 
        ht_info->amsdu_max_size = 7935UL;
-       ht_info->bAMSDU_Support = 0;
+       ht_info->amsdu_support = 0;
 
        ht_info->bAMPDUEnable = 1;
        ht_info->AMPDU_Factor = 2;
@@ -489,7 +489,7 @@ void HTOnAssocRsp(struct rtllib_device *ieee)
                               ((pPeerHTCap->DssCCk == 1) ? true :
                               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;