Skip to content

Commit 3f9a844

Browse files
treedaviesgregkh
authored andcommitted
Staging: rtl8192e: Rename variable ExtHTCapInfo
Rename variable ExtHTCapInfo to ext_ht_cap_info 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 a0667f7 commit 3f9a844

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
@@ -45,7 +45,7 @@ struct ht_capab_ele {
4545

4646
u8 MCS[16];
4747

48-
u16 ExtHTCapInfo;
48+
u16 ext_ht_cap_info;
4949

5050
u8 TxBFCap[4];
5151

drivers/staging/rtl8192e/rtl819x_HTProc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,7 @@ void ht_construct_capability_element(struct rtllib_device *ieee, u8 *pos_ht_cap,
283283
}
284284

285285
memcpy(cap_ele->MCS, ieee->reg_dot11ht_oper_rate_set, 16);
286-
memset(&cap_ele->ExtHTCapInfo, 0, 2);
286+
memset(&cap_ele->ext_ht_cap_info, 0, 2);
287287
memset(cap_ele->TxBFCap, 0, 4);
288288

289289
cap_ele->ASCap = 0;

0 commit comments

Comments
 (0)