Skip to content

Commit

Permalink
Staging: rtl8192e: Rename variable DssCCk
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Tree Davies authored and Greg Kroah-Hartman committed May 4, 2024
1 parent 3f9a844 commit bae5024
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion drivers/staging/rtl8192e/rtl819x_HT.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
6 changes: 3 additions & 3 deletions drivers/staging/rtl8192e/rtl819x_HTProc.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit bae5024

Please sign in to comment.