Staging: rtl8192e: Rename variable TSInfo
authorTree Davies <tdavies@darkphysics.net>
Sat, 14 Oct 2023 04:44:33 +0000 (21:44 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 15 Oct 2023 16:20:54 +0000 (18:20 +0200)
Rename variable TSInfo to ts_info to fix checkpatch warning Avoid CamelCase.

Signed-off-by: Tree Davies <tdavies@darkphysics.net>
Tested-by: Philipp Hortmann <philipp.g.hortmann@gmail.com>
Link: https://lore.kernel.org/r/20231014044435.11947-3-tdavies@darkphysics.net
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8192e/rtl819x_BAProc.c
drivers/staging/rtl8192e/rtl819x_Qos.h
drivers/staging/rtl8192e/rtl819x_TSProc.c

index a2a0573c344483d5a2b70aae2245fad26f86fbbf..a5165fe88217f7928399d10a728fe3f9ddeca7d9 100644 (file)
@@ -474,7 +474,7 @@ void rtllib_ts_init_add_ba(struct rtllib_device *ieee, struct tx_ts_record *pTS,
        ba->dialog_token++;
        ba->ba_param_set.field.amsdu_support = 0;
        ba->ba_param_set.field.ba_policy = policy;
-       ba->ba_param_set.field.tid = pTS->TsCommonInfo.TSpec.f.TSInfo.field.ucTSID;
+       ba->ba_param_set.field.tid = pTS->TsCommonInfo.TSpec.f.ts_info.field.ucTSID;
        ba->ba_param_set.field.buffer_size = 32;
        ba->ba_timeout_value = 0;
        ba->ba_start_seq_ctrl.field.seq_num = (pTS->TxCurSeq + 3) % 4096;
index 0499711ea2bf803ebdf07529dea25502ff850a7a..37677366c397479400a38fb39d86cee38428c9e0 100644 (file)
@@ -60,7 +60,7 @@ union tspec_body {
        u8              charData[55];
 
        struct {
-               union qos_tsinfo TSInfo;
+               union qos_tsinfo ts_info;
                u16     NominalMSDUsize;
                u16     MaxMSDUsize;
                u32     MinServiceItv;
index eaa2a82558f16d8f9c7fa9628d82fa834aa66659..16d5164e860dd0baf0f5db9f4a97bb8036832888 100644 (file)
@@ -201,8 +201,8 @@ static struct ts_common_info *SearchAdmitTRStream(struct rtllib_device *ieee,
                        continue;
                list_for_each_entry(pRet, psearch_list, List) {
                        if (memcmp(pRet->addr, addr, 6) == 0 &&
-                           pRet->TSpec.f.TSInfo.field.ucTSID == TID &&
-                           pRet->TSpec.f.TSInfo.field.ucDirection == dir)
+                           pRet->TSpec.f.ts_info.field.ucTSID == TID &&
+                           pRet->TSpec.f.ts_info.field.ucDirection == dir)
                                break;
                }
                if (&pRet->List  != psearch_list)
@@ -242,7 +242,7 @@ bool rtllib_get_ts(struct rtllib_device *ieee, struct ts_common_info **ppTS,
 {
        u8      UP = 0;
        union tspec_body TSpec;
-       union qos_tsinfo *ts_info = &TSpec.f.TSInfo;
+       union qos_tsinfo *ts_info = &TSpec.f.ts_info;
        struct list_head *pUnusedList;
        struct list_head *pAddmitList;
        enum direction_value Dir;