summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Straube <straube.linux@gmail.com>2021-08-27 11:41:42 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-08-27 16:16:19 +0200
commit9f30a2312c0b6d19f444903491ff794ad40b6009 (patch)
tree5e594c712ac347601073de5e722d143347bc1dd7
parenta01b0006de7632656b2711b67c1d59b76af4d6a2 (diff)
staging: r8188eu: rename fields of struct dyn_primary_cca
Rename fields of struct dyn_primary_cca to avoid camel case. PriCCA_flag -> pri_cca_flag DupRTS_flag -> dup_rts_flag Monitor_flag -> monitor_flag Signed-off-by: Michael Straube <straube.linux@gmail.com> Link: https://lore.kernel.org/r/20210827094144.13290-3-straube.linux@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--drivers/staging/r8188eu/hal/odm_RTL8188E.c8
-rw-r--r--drivers/staging/r8188eu/include/odm.h6
2 files changed, 7 insertions, 7 deletions
diff --git a/drivers/staging/r8188eu/hal/odm_RTL8188E.c b/drivers/staging/r8188eu/hal/odm_RTL8188E.c
index 10fe1ecc0342..70afa0a21bf4 100644
--- a/drivers/staging/r8188eu/hal/odm_RTL8188E.c
+++ b/drivers/staging/r8188eu/hal/odm_RTL8188E.c
@@ -329,16 +329,16 @@ void odm_PrimaryCCA_Init(struct odm_dm_struct *dm_odm)
{
struct dyn_primary_cca *PrimaryCCA = &dm_odm->DM_PriCCA;
- PrimaryCCA->DupRTS_flag = 0;
+ PrimaryCCA->dup_rts_flag = 0;
PrimaryCCA->intf_flag = 0;
PrimaryCCA->intf_type = 0;
- PrimaryCCA->Monitor_flag = 0;
- PrimaryCCA->PriCCA_flag = 0;
+ PrimaryCCA->monitor_flag = 0;
+ PrimaryCCA->pri_cca_flag = 0;
}
bool ODM_DynamicPrimaryCCA_DupRTS(struct odm_dm_struct *dm_odm)
{
struct dyn_primary_cca *PrimaryCCA = &dm_odm->DM_PriCCA;
- return PrimaryCCA->DupRTS_flag;
+ return PrimaryCCA->dup_rts_flag;
}
diff --git a/drivers/staging/r8188eu/include/odm.h b/drivers/staging/r8188eu/include/odm.h
index 19458e66603c..ee051e053ac6 100644
--- a/drivers/staging/r8188eu/include/odm.h
+++ b/drivers/staging/r8188eu/include/odm.h
@@ -154,11 +154,11 @@ struct false_alarm_stats {
};
struct dyn_primary_cca {
- u8 PriCCA_flag;
+ u8 pri_cca_flag;
u8 intf_flag;
u8 intf_type;
- u8 DupRTS_flag;
- u8 Monitor_flag;
+ u8 dup_rts_flag;
+ u8 monitor_flag;
};
struct rx_hpc {