diff options
author | Tree Davies <tdavies@darkphysics.net> | 2024-04-28 16:00:52 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2024-05-04 18:41:00 +0200 |
commit | fb3ac10f25f92ba6ce8a26870745ab09283b4644 (patch) | |
tree | 07789861503ec0b07776c410562ca3befa8cf776 /drivers/staging | |
parent | b45d48dcb18ff0201cfe3be7118c8dfa83397422 (diff) |
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>
Diffstat (limited to 'drivers/staging')
-rw-r--r-- | drivers/staging/rtl8192e/rtl819x_HT.h | 2 | ||||
-rw-r--r-- | drivers/staging/rtl8192e/rtl819x_HTProc.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/rtl8192e/rtl819x_HT.h b/drivers/staging/rtl8192e/rtl819x_HT.h index d8fb2bda91e4..7e0f64df01ea 100644 --- a/drivers/staging/rtl8192e/rtl819x_HT.h +++ b/drivers/staging/rtl8192e/rtl819x_HT.h @@ -37,7 +37,7 @@ struct ht_capab_ele { u8 DssCCk:1; u8 PSMP:1; u8 Rsvd1:1; - u8 LSigTxopProtect:1; + u8 lsig_txop_protect:1; u8 MaxRxAMPDUFactor:2; u8 MPDUDensity:3; diff --git a/drivers/staging/rtl8192e/rtl819x_HTProc.c b/drivers/staging/rtl8192e/rtl819x_HTProc.c index 837911934462..503ea1e92a7d 100644 --- a/drivers/staging/rtl8192e/rtl819x_HTProc.c +++ b/drivers/staging/rtl8192e/rtl819x_HTProc.c @@ -268,7 +268,7 @@ void ht_construct_capability_element(struct rtllib_device *ieee, u8 *pos_ht_cap, cap_ele->MaxAMSDUSize = (MAX_RECEIVE_BUFFER_SIZE >= 7935) ? 1 : 0; cap_ele->DssCCk = 1; cap_ele->PSMP = 0; - cap_ele->LSigTxopProtect = 0; + cap_ele->lsig_txop_protect = 0; netdev_dbg(ieee->dev, "TX HT cap/info ele BW=%d MaxAMSDUSize:%d DssCCk:%d\n", |