Skip to content

Commit d6e0eab

Browse files
treedaviesgregkh
authored andcommitted
Staging: rtl8192e: Rename variable TxSTBC
Rename variable TxSTBC to tx_stbc to fix checkpatch warning Avoid CamelCase. Signed-off-by: Tree Davies <[email protected]> Tested-by: Philipp Hortmann <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent 86272f2 commit d6e0eab

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

drivers/staging/rtl8192e/rtl819x_HT.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ struct ht_capab_ele {
3030
u8 green_field:1;
3131
u8 short_gi_20mhz:1;
3232
u8 short_gi_40mhz:1;
33-
u8 TxSTBC:1;
33+
u8 tx_stbc:1;
3434
u8 RxSTBC:2;
3535
u8 DelayBA:1;
3636
u8 MaxAMSDUSize:1;

drivers/staging/rtl8192e/rtl819x_HTProc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@ void ht_construct_capability_element(struct rtllib_device *ieee, u8 *pos_ht_cap,
262262
cap_ele->short_gi_20mhz = 1;
263263
cap_ele->short_gi_40mhz = 1;
264264

265-
cap_ele->TxSTBC = 1;
265+
cap_ele->tx_stbc = 1;
266266
cap_ele->RxSTBC = 0;
267267
cap_ele->DelayBA = 0;
268268
cap_ele->MaxAMSDUSize = (MAX_RECEIVE_BUFFER_SIZE >= 7935) ? 1 : 0;

0 commit comments

Comments
 (0)