aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGary Rookard <[email protected]>2023-12-12 11:56:34 -0500
committerGreg Kroah-Hartman <[email protected]>2023-12-15 13:36:43 +0100
commit1a469abcb76e4bcb487f641daea23650c584f1a4 (patch)
tree363148daf30b67b25fbf47e42fe4d0927e930655
parent078330abda79bf56c35dd570a989d30008618d83 (diff)
staging: rtl8192e: rename variable IsEncrypt
Coding style issue, checkpatch Avoid CamelCase, rename it. IsEncrypt -> is_encrypt Signed-off-by: Gary Rookard <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
-rw-r--r--drivers/staging/rtl8192e/rtl819x_HTProc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/rtl8192e/rtl819x_HTProc.c b/drivers/staging/rtl8192e/rtl819x_HTProc.c
index 7efc67af25de..eef1a93d51a4 100644
--- a/drivers/staging/rtl8192e/rtl819x_HTProc.c
+++ b/drivers/staging/rtl8192e/rtl819x_HTProc.c
@@ -238,7 +238,7 @@ void ht_reset_iot_setting(struct rt_hi_throughput *ht_info)
}
void ht_construct_capability_element(struct rtllib_device *ieee, u8 *pos_ht_cap,
- u8 *len, u8 IsEncrypt, bool bAssoc)
+ u8 *len, u8 is_encrypt, bool bAssoc)
{
struct rt_hi_throughput *pHT = ieee->ht_info;
struct ht_capab_ele *pCapELE = NULL;
@@ -284,7 +284,7 @@ void ht_construct_capability_element(struct rtllib_device *ieee, u8 *pos_ht_cap,
"TX HT cap/info ele BW=%d MaxAMSDUSize:%d DssCCk:%d\n",
pCapELE->ChlWidth, pCapELE->MaxAMSDUSize, pCapELE->DssCCk);
- if (IsEncrypt) {
+ if (is_encrypt) {
pCapELE->MPDUDensity = 7;
pCapELE->MaxRxAMPDUFactor = 2;
} else {