Skip to content

Commit 982c4a8

Browse files
treedaviesgregkh
authored andcommitted
Staging: rtl8192e: Rename variable RxSTBC
Rename variable RxSTBC to rx_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 d6e0eab commit 982c4a8

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
@@ -31,7 +31,7 @@ struct ht_capab_ele {
3131
u8 short_gi_20mhz:1;
3232
u8 short_gi_40mhz:1;
3333
u8 tx_stbc:1;
34-
u8 RxSTBC:2;
34+
u8 rx_stbc:2;
3535
u8 DelayBA:1;
3636
u8 MaxAMSDUSize:1;
3737
u8 DssCCk:1;

drivers/staging/rtl8192e/rtl819x_HTProc.c

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

265265
cap_ele->tx_stbc = 1;
266-
cap_ele->RxSTBC = 0;
266+
cap_ele->rx_stbc = 0;
267267
cap_ele->DelayBA = 0;
268268
cap_ele->MaxAMSDUSize = (MAX_RECEIVE_BUFFER_SIZE >= 7935) ? 1 : 0;
269269
cap_ele->DssCCk = 1;

0 commit comments

Comments
 (0)