diff options
author | Tree Davies <tdavies@darkphysics.net> | 2024-04-28 16:00:58 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2024-05-04 18:41:01 +0200 |
commit | 86272f2bbf642a1d42384b84a1ad013a02f56728 (patch) | |
tree | 3b4c11dcde6baaf568aaf5f7bc0026f0496889a1 /drivers/staging | |
parent | b55af8ba3cf68a6d7e45ba1ceb280b9a2cb1ec72 (diff) | |
download | linux-86272f2bbf642a1d42384b84a1ad013a02f56728.tar.gz linux-86272f2bbf642a1d42384b84a1ad013a02f56728.tar.bz2 linux-86272f2bbf642a1d42384b84a1ad013a02f56728.zip |
Staging: rtl8192e: Rename variable GreenField
Rename variable GreenField to green_field
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/20240428230106.6548-11-tdavies@darkphysics.net
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging')
-rw-r--r-- | drivers/staging/rtl8192e/rtl819x_HT.h | 2 | ||||
-rw-r--r-- | 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 008611e3aace..b9f50d195b13 100644 --- a/drivers/staging/rtl8192e/rtl819x_HT.h +++ b/drivers/staging/rtl8192e/rtl819x_HT.h @@ -27,7 +27,7 @@ struct ht_capab_ele { u8 adv_coding:1; u8 chl_width:1; u8 mimo_pwr_save:2; - u8 GreenField:1; + u8 green_field:1; u8 short_gi_20mhz:1; u8 short_gi_40mhz:1; u8 TxSTBC:1; diff --git a/drivers/staging/rtl8192e/rtl819x_HTProc.c b/drivers/staging/rtl8192e/rtl819x_HTProc.c index 3b1c6e24103e..cf3536fdefbd 100644 --- a/drivers/staging/rtl8192e/rtl819x_HTProc.c +++ b/drivers/staging/rtl8192e/rtl819x_HTProc.c @@ -258,7 +258,7 @@ void ht_construct_capability_element(struct rtllib_device *ieee, u8 *pos_ht_cap, cap_ele->chl_width = 1; cap_ele->mimo_pwr_save = 3; - cap_ele->GreenField = 0; + cap_ele->green_field = 0; cap_ele->short_gi_20mhz = 1; cap_ele->short_gi_40mhz = 1; |