[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240108032233.4280-6-garyrookard@fastmail.org>
Date: Sun, 7 Jan 2024 22:22:33 -0500
From: Gary Rookard <garyrookard@...tmail.org>
To: gregkh@...uxfoundation.org,
philipp.g.hortmann@...il.com
Cc: linux-staging@...ts.linux.dev,
linux-kernel@...r.kernel.org,
Gary Rookard <garyrookard@...tmail.org>
Subject: [PATCH 5/5] staging: rtl8192e: rename variable AdvCoding
Coding style issue, checkpatch Avoid CamelCase,
rename it. AdvCoding -> adv_coding
Signed-off-by: Gary Rookard <garyrookard@...tmail.org>
---
drivers/staging/rtl8192e/rtl819x_HT.h | 2 +-
drivers/staging/rtl8192e/rtl819x_HTProc.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/staging/rtl8192e/rtl819x_HT.h b/drivers/staging/rtl8192e/rtl819x_HT.h
index 68577bffb936..95613619d568 100644
--- a/drivers/staging/rtl8192e/rtl819x_HT.h
+++ b/drivers/staging/rtl8192e/rtl819x_HT.h
@@ -24,7 +24,7 @@ enum ht_extchnl_offset {
};
struct ht_capab_ele {
- u8 AdvCoding:1;
+ u8 adv_coding:1;
u8 ChlWidth:1;
u8 MimoPwrSave:2;
u8 GreenField:1;
diff --git a/drivers/staging/rtl8192e/rtl819x_HTProc.c b/drivers/staging/rtl8192e/rtl819x_HTProc.c
index 5598e74187cd..351000d3bce7 100644
--- a/drivers/staging/rtl8192e/rtl819x_HTProc.c
+++ b/drivers/staging/rtl8192e/rtl819x_HTProc.c
@@ -251,7 +251,7 @@ void ht_construct_capability_element(struct rtllib_device *ieee, u8 *pos_ht_cap,
*len = 26 + 2;
}
- cap_ele->AdvCoding = 0;
+ cap_ele->adv_coding = 0;
if (ieee->GetHalfNmodeSupportByAPsHandler(ieee->dev))
cap_ele->ChlWidth = 0;
else
--
2.43.0
Powered by blists - more mailing lists