Skip to content

Commit ec06bf5

Browse files
abid-sayyadgregkh
authored andcommitted
staging: rtl8723bs: include: Fix indent for switch case in rtw_security.h
This change ensures proper formatting for better readability and maintainability. Reported by `checkpatch.pl`: WARNING: switch and case statements should be indented with tabs. Signed-off-by: Sayyad Abid <[email protected]> Tested-by: Philipp Hortmann <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent fd64620 commit ec06bf5

File tree

1 file changed

+21
-21
lines changed

1 file changed

+21
-21
lines changed

drivers/staging/rtl8723bs/include/rtw_security.h

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -191,27 +191,27 @@ do {\
191191
#define SET_ICE_IV_LEN(iv_len, icv_len, encrypt)\
192192
do {\
193193
switch (encrypt) {\
194-
case _WEP40_:\
195-
case _WEP104_:\
196-
iv_len = 4;\
197-
icv_len = 4;\
198-
break;\
199-
case _TKIP_:\
200-
iv_len = 8;\
201-
icv_len = 4;\
202-
break;\
203-
case _AES_:\
204-
iv_len = 8;\
205-
icv_len = 8;\
206-
break;\
207-
case _SMS4_:\
208-
iv_len = 18;\
209-
icv_len = 16;\
210-
break;\
211-
default:\
212-
iv_len = 0;\
213-
icv_len = 0;\
214-
break;\
194+
case _WEP40_:\
195+
case _WEP104_:\
196+
iv_len = 4;\
197+
icv_len = 4;\
198+
break;\
199+
case _TKIP_:\
200+
iv_len = 8;\
201+
icv_len = 4;\
202+
break;\
203+
case _AES_:\
204+
iv_len = 8;\
205+
icv_len = 8;\
206+
break;\
207+
case _SMS4_:\
208+
iv_len = 18;\
209+
icv_len = 16;\
210+
break;\
211+
default:\
212+
iv_len = 0;\
213+
icv_len = 0;\
214+
break;\
215215
} \
216216
} while (0)
217217

0 commit comments

Comments
 (0)