Skip to content

Commit

Permalink
Staging: rtl8192e: Rename variable ExtHTCapInfo
Browse files Browse the repository at this point in the history
Rename variable ExtHTCapInfo to ext_ht_cap_info
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-18-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 a0667f7 commit 3f9a844
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 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 @@ -45,7 +45,7 @@ struct ht_capab_ele {

u8 MCS[16];

u16 ExtHTCapInfo;
u16 ext_ht_cap_info;

u8 TxBFCap[4];

Expand Down
2 changes: 1 addition & 1 deletion drivers/staging/rtl8192e/rtl819x_HTProc.c
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ void ht_construct_capability_element(struct rtllib_device *ieee, u8 *pos_ht_cap,
}

memcpy(cap_ele->MCS, ieee->reg_dot11ht_oper_rate_set, 16);
memset(&cap_ele->ExtHTCapInfo, 0, 2);
memset(&cap_ele->ext_ht_cap_info, 0, 2);
memset(cap_ele->TxBFCap, 0, 4);

cap_ele->ASCap = 0;
Expand Down

0 comments on commit 3f9a844

Please sign in to comment.