diff options
author | Tree Davies <tdavies@darkphysics.net> | 2024-04-29 01:01:00 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2024-05-04 18:41:01 +0200 |
commit | 982c4a8b5a5b00f66029af2acf87821dfa6aaa47 (patch) | |
tree | 9bb9b2e1acada93cbb70e6b0c566e65cc03cfc39 /drivers/staging | |
parent | Staging: rtl8192e: Rename variable TxSTBC (diff) | |
download | linux-982c4a8b5a5b00f66029af2acf87821dfa6aaa47.tar.xz linux-982c4a8b5a5b00f66029af2acf87821dfa6aaa47.zip |
Staging: rtl8192e: Rename variable RxSTBC
Rename variable RxSTBC to rx_stbc
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-13-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 bd66df620793..3f8860e91793 100644 --- a/drivers/staging/rtl8192e/rtl819x_HT.h +++ b/drivers/staging/rtl8192e/rtl819x_HT.h @@ -31,7 +31,7 @@ struct ht_capab_ele { u8 short_gi_20mhz:1; u8 short_gi_40mhz:1; u8 tx_stbc:1; - u8 RxSTBC:2; + u8 rx_stbc:2; u8 DelayBA:1; u8 MaxAMSDUSize:1; u8 DssCCk:1; diff --git a/drivers/staging/rtl8192e/rtl819x_HTProc.c b/drivers/staging/rtl8192e/rtl819x_HTProc.c index d51a0daa9196..91c7415d5a2a 100644 --- a/drivers/staging/rtl8192e/rtl819x_HTProc.c +++ b/drivers/staging/rtl8192e/rtl819x_HTProc.c @@ -263,7 +263,7 @@ void ht_construct_capability_element(struct rtllib_device *ieee, u8 *pos_ht_cap, cap_ele->short_gi_40mhz = 1; cap_ele->tx_stbc = 1; - cap_ele->RxSTBC = 0; + cap_ele->rx_stbc = 0; cap_ele->DelayBA = 0; cap_ele->MaxAMSDUSize = (MAX_RECEIVE_BUFFER_SIZE >= 7935) ? 1 : 0; cap_ele->DssCCk = 1; |