Staging: rtl8192e: Rename variable osCcxRmCap
Rename variable osCcxRmCap to os_ccx_rm_cap 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-7-tdavies@darkphysics.net Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
9880998b9b
commit
99a21d5ae5
@ -840,15 +840,15 @@ rtllib_association_req(struct rtllib_network *beacon,
|
||||
if (beacon->bCcxRmEnable) {
|
||||
static const u8 CcxRmCapBuf[] = {0x00, 0x40, 0x96, 0x01, 0x01,
|
||||
0x00};
|
||||
struct octet_string osCcxRmCap;
|
||||
struct octet_string os_ccx_rm_cap;
|
||||
|
||||
osCcxRmCap.octet = (u8 *)CcxRmCapBuf;
|
||||
osCcxRmCap.Length = sizeof(CcxRmCapBuf);
|
||||
os_ccx_rm_cap.octet = (u8 *)CcxRmCapBuf;
|
||||
os_ccx_rm_cap.Length = sizeof(CcxRmCapBuf);
|
||||
tag = skb_put(skb, ccxrm_ie_len);
|
||||
*tag++ = MFIE_TYPE_GENERIC;
|
||||
*tag++ = osCcxRmCap.Length;
|
||||
memcpy(tag, osCcxRmCap.octet, osCcxRmCap.Length);
|
||||
tag += osCcxRmCap.Length;
|
||||
*tag++ = os_ccx_rm_cap.Length;
|
||||
memcpy(tag, os_ccx_rm_cap.octet, os_ccx_rm_cap.Length);
|
||||
tag += os_ccx_rm_cap.Length;
|
||||
}
|
||||
|
||||
if (beacon->BssCcxVerNumber >= 2) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user