[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20210316120500.351-1-maqianga@uniontech.com>
Date: Tue, 16 Mar 2021 20:05:00 +0800
From: Qiang Ma <maqianga@...ontech.com>
To: gregkh@...uxfoundation.org, ross.schm.dev@...il.com,
mhocko@...e.com, john.oldman@...ehill.co.uk, joe@...ches.com,
longman@...hat.com, matthew.v.deangelis@...il.com
Cc: devel@...verdev.osuosl.org, linux-kernel@...r.kernel.org,
Qiang Ma <maqianga@...ontech.com>
Subject: [PATCH] staging: rtl8723bs/core: add spaces between operators
Add spaces between operators for a better readability
in function 'rtw_seccalctkipmic'.
Signed-off-by: Qiang Ma <maqianga@...ontech.com>
---
drivers/staging/rtl8723bs/core/rtw_security.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/staging/rtl8723bs/core/rtw_security.c b/drivers/staging/rtl8723bs/core/rtw_security.c
index 3e576cbe4712..469e4d563da1 100644
--- a/drivers/staging/rtl8723bs/core/rtw_security.c
+++ b/drivers/staging/rtl8723bs/core/rtw_security.c
@@ -413,15 +413,15 @@ void rtw_seccalctkipmic(u8 *key, u8 *header, u8 *data, u32 data_len, u8 *mic_cod
priority[0] = pri;
/* Michael MIC pseudo header: DA, SA, 3 x 0, Priority */
- if (header[1]&1) { /* ToDS == 1 */
+ if (header[1] & 1) { /* ToDS == 1 */
rtw_secmicappend(&micdata, &header[16], 6); /* DA */
- if (header[1]&2) /* From Ds == 1 */
+ if (header[1] & 2) /* From Ds == 1 */
rtw_secmicappend(&micdata, &header[24], 6);
else
rtw_secmicappend(&micdata, &header[10], 6);
} else { /* ToDS == 0 */
rtw_secmicappend(&micdata, &header[4], 6); /* DA */
- if (header[1]&2) /* From Ds == 1 */
+ if (header[1] & 2) /* From Ds == 1 */
rtw_secmicappend(&micdata, &header[16], 6);
else
rtw_secmicappend(&micdata, &header[10], 6);
--
2.20.1
Powered by blists - more mailing lists