diff options
author | Gary Rookard <garyrookard@fastmail.org> | 2023-12-12 11:56:35 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-12-15 13:36:43 +0100 |
commit | 145524f81550730be117c3ccfa7b2edd902ee28a (patch) | |
tree | 7c802d205cfbe04ba6aadf8987e962d7c3896dd2 /drivers/staging | |
parent | 1a469abcb76e4bcb487f641daea23650c584f1a4 (diff) |
staging: rtl8192e: rename variable bAssoc
Coding style issue, checkpatch Avoid CamelCase,
rename it. bAssoc -> assoc
Signed-off-by: Gary Rookard <garyrookard@fastmail.org>
Link: https://lore.kernel.org/r/20231212165637.17618-4-garyrookard@fastmail.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging')
-rw-r--r-- | drivers/staging/rtl8192e/rtl819x_HTProc.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/staging/rtl8192e/rtl819x_HTProc.c b/drivers/staging/rtl8192e/rtl819x_HTProc.c index eef1a93d51a4..13c14de95dea 100644 --- a/drivers/staging/rtl8192e/rtl819x_HTProc.c +++ b/drivers/staging/rtl8192e/rtl819x_HTProc.c @@ -238,7 +238,7 @@ void ht_reset_iot_setting(struct rt_hi_throughput *ht_info) } void ht_construct_capability_element(struct rtllib_device *ieee, u8 *pos_ht_cap, - u8 *len, u8 is_encrypt, bool bAssoc) + u8 *len, u8 is_encrypt, bool assoc) { struct rt_hi_throughput *pHT = ieee->ht_info; struct ht_capab_ele *pCapELE = NULL; @@ -250,7 +250,7 @@ void ht_construct_capability_element(struct rtllib_device *ieee, u8 *pos_ht_cap, } memset(pos_ht_cap, 0, *len); - if ((bAssoc) && (pHT->ePeerHTSpecVer == HT_SPEC_VER_EWC)) { + if ((assoc) && (pHT->ePeerHTSpecVer == HT_SPEC_VER_EWC)) { static const u8 EWC11NHTCap[] = { 0x00, 0x90, 0x4c, 0x33 }; memcpy(pos_ht_cap, EWC11NHTCap, sizeof(EWC11NHTCap)); @@ -298,7 +298,7 @@ void ht_construct_capability_element(struct rtllib_device *ieee, u8 *pos_ht_cap, pCapELE->ASCap = 0; - if (bAssoc) { + if (assoc) { if (pHT->iot_action & HT_IOT_ACT_DISABLE_MCS15) pCapELE->MCS[1] &= 0x7f; |