Skip to content

Commit 86272f2

Browse files
treedaviesgregkh
authored andcommitted
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>
1 parent b55af8b commit 86272f2

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

drivers/staging/rtl8192e/rtl819x_HT.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ struct ht_capab_ele {
2727
u8 adv_coding:1;
2828
u8 chl_width:1;
2929
u8 mimo_pwr_save:2;
30-
u8 GreenField:1;
30+
u8 green_field:1;
3131
u8 short_gi_20mhz:1;
3232
u8 short_gi_40mhz:1;
3333
u8 TxSTBC:1;

drivers/staging/rtl8192e/rtl819x_HTProc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ void ht_construct_capability_element(struct rtllib_device *ieee, u8 *pos_ht_cap,
258258
cap_ele->chl_width = 1;
259259

260260
cap_ele->mimo_pwr_save = 3;
261-
cap_ele->GreenField = 0;
261+
cap_ele->green_field = 0;
262262
cap_ele->short_gi_20mhz = 1;
263263
cap_ele->short_gi_40mhz = 1;
264264

0 commit comments

Comments
 (0)