diff options
author | Tree Davies <tdavies@darkphysics.net> | 2024-02-26 20:41:46 -0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2024-03-05 14:15:09 +0000 |
commit | fbf63623ca47c853d20cb1c27b8ac7844c7f4058 (patch) | |
tree | 2c14715208998c8d5fa9ec38244e19f73937c36a /drivers/staging | |
parent | 98d602e87c9f11a63626a589f6969fd6afc241a8 (diff) |
Staging: rtl8192e: Rename variable CcxRmCapBuf
Rename variable CcxRmCapBuf to ccx_rm_cap_buf 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/20240227044157.407379-10-tdavies@darkphysics.net
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging')
-rw-r--r-- | drivers/staging/rtl8192e/rtllib_softmac.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/staging/rtl8192e/rtllib_softmac.c b/drivers/staging/rtl8192e/rtllib_softmac.c index f5e0741af047..477d736fe22d 100644 --- a/drivers/staging/rtl8192e/rtllib_softmac.c +++ b/drivers/staging/rtl8192e/rtllib_softmac.c @@ -838,12 +838,12 @@ rtllib_association_req(struct rtllib_network *beacon, } if (beacon->ccx_rm_enable) { - static const u8 CcxRmCapBuf[] = {0x00, 0x40, 0x96, 0x01, 0x01, + static const u8 ccx_rm_cap_buf[] = {0x00, 0x40, 0x96, 0x01, 0x01, 0x00}; struct octet_string os_ccx_rm_cap; - os_ccx_rm_cap.octet = (u8 *)CcxRmCapBuf; - os_ccx_rm_cap.Length = sizeof(CcxRmCapBuf); + os_ccx_rm_cap.octet = (u8 *)ccx_rm_cap_buf; + os_ccx_rm_cap.Length = sizeof(ccx_rm_cap_buf); tag = skb_put(skb, ccxrm_ie_len); *tag++ = MFIE_TYPE_GENERIC; *tag++ = os_ccx_rm_cap.Length; |