diff options
author | Tree Davies <tdavies@darkphysics.net> | 2024-04-29 02:01:06 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2024-05-04 19:41:02 +0300 |
commit | bae502410013af607b9a766469360eab3a0409e5 (patch) | |
tree | 8a71062b4ff1612d313b0b27edaab90484d67ef4 /drivers/staging | |
parent | 3f9a84460ffd5def456726f8514cb91acda9afee (diff) | |
download | linux-bae502410013af607b9a766469360eab3a0409e5.tar.xz |
Staging: rtl8192e: Rename variable DssCCk
Rename variable DssCCk to dss_cck
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-19-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 | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/drivers/staging/rtl8192e/rtl819x_HT.h b/drivers/staging/rtl8192e/rtl819x_HT.h index c1446081956d..a6e0077630c7 100644 --- a/drivers/staging/rtl8192e/rtl819x_HT.h +++ b/drivers/staging/rtl8192e/rtl819x_HT.h @@ -34,7 +34,7 @@ struct ht_capab_ele { u8 rx_stbc:2; u8 delay_ba:1; u8 max_amsdu_size:1; - u8 DssCCk:1; + u8 dss_cck:1; u8 PSMP:1; u8 Rsvd1:1; u8 lsig_txop_protect:1; diff --git a/drivers/staging/rtl8192e/rtl819x_HTProc.c b/drivers/staging/rtl8192e/rtl819x_HTProc.c index 963d69680049..9b0a981f6f22 100644 --- a/drivers/staging/rtl8192e/rtl819x_HTProc.c +++ b/drivers/staging/rtl8192e/rtl819x_HTProc.c @@ -266,13 +266,13 @@ void ht_construct_capability_element(struct rtllib_device *ieee, u8 *pos_ht_cap, cap_ele->rx_stbc = 0; cap_ele->delay_ba = 0; cap_ele->max_amsdu_size = (MAX_RECEIVE_BUFFER_SIZE >= 7935) ? 1 : 0; - cap_ele->DssCCk = 1; + cap_ele->dss_cck = 1; cap_ele->PSMP = 0; cap_ele->lsig_txop_protect = 0; netdev_dbg(ieee->dev, - "TX HT cap/info ele BW=%d max_amsdu_size:%d DssCCk:%d\n", - cap_ele->chl_width, cap_ele->max_amsdu_size, cap_ele->DssCCk); + "TX HT cap/info ele BW=%d max_amsdu_size:%d dss_cck:%d\n", + cap_ele->chl_width, cap_ele->max_amsdu_size, cap_ele->dss_cck); if (is_encrypt) { cap_ele->mpdu_density = 7; |