Skip to content

Commit fb3ac10

Browse files
treedaviesgregkh
authored andcommitted
Staging: rtl8192e: Rename variable LSigTxopProtect
Rename variable LSigTxopProtect to lsig_txop_protect 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-5-tdavies@darkphysics.net Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent b45d48d commit fb3ac10

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
@@ -37,7 +37,7 @@ struct ht_capab_ele {
3737
u8 DssCCk:1;
3838
u8 PSMP:1;
3939
u8 Rsvd1:1;
40-
u8 LSigTxopProtect:1;
40+
u8 lsig_txop_protect:1;
4141

4242
u8 MaxRxAMPDUFactor:2;
4343
u8 MPDUDensity:3;

drivers/staging/rtl8192e/rtl819x_HTProc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@ void ht_construct_capability_element(struct rtllib_device *ieee, u8 *pos_ht_cap,
268268
cap_ele->MaxAMSDUSize = (MAX_RECEIVE_BUFFER_SIZE >= 7935) ? 1 : 0;
269269
cap_ele->DssCCk = 1;
270270
cap_ele->PSMP = 0;
271-
cap_ele->LSigTxopProtect = 0;
271+
cap_ele->lsig_txop_protect = 0;
272272

273273
netdev_dbg(ieee->dev,
274274
"TX HT cap/info ele BW=%d MaxAMSDUSize:%d DssCCk:%d\n",

0 commit comments

Comments
 (0)