[PATCH v3 3/3] Staging: rtl8712: Fixes a camel case variable name style issue

From: Zoeb Mithaiwala
Date: Mon Nov 22 2021 - 12:04:05 EST


Changes the names of variables in rtl871x_security from camel case to
snake case to match coding style.

Signed-off-by: Zoeb Mithaiwala <zoebm@xxxxxxxxxx>
---
Changes in v3:
- Fixes commit messages for patch.
- Uses the same variable names in header file as implementation files.
Changes in v2:
- Changes the variable name from nBytesInM to bytes_in_m.
- Removes changes to other variables in the file.
---
drivers/staging/rtl8712/rtl871x_security.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/staging/rtl8712/rtl871x_security.h b/drivers/staging/rtl8712/rtl871x_security.h
index 1de662940417..81262e68bee1 100644
--- a/drivers/staging/rtl8712/rtl871x_security.h
+++ b/drivers/staging/rtl8712/rtl871x_security.h
@@ -200,11 +200,11 @@ void seccalctkipmic(
u8 *header,
u8 *data,
u32 data_len,
- u8 *Miccode,
+ u8 *mic_code,
u8 priority);

void r8712_secmicsetkey(struct mic_data *pmicdata, u8 *key);
-void r8712_secmicappend(struct mic_data *pmicdata, u8 *src, u32 nBytes);
+void r8712_secmicappend(struct mic_data *pmicdata, u8 *src, u32 nbytes);
void r8712_secgetmic(struct mic_data *pmicdata, u8 *dst);
u32 r8712_aes_encrypt(struct _adapter *padapter, u8 *pxmitframe);
u32 r8712_tkip_encrypt(struct _adapter *padapter, u8 *pxmitframe);
--
2.20.1