Skip to content

Commit a77f871

Browse files
abid-sayyadgregkh
authored andcommitted
staging: rtl8723bs: include: Fix indent for switch block in rtw_security.h
This improves code readability by ensuring consistent formatting. Reported by `checkpatch.pl`: WARNING: switch blocks should be indented with a single tab. 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 ec06bf5 commit a77f871

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

drivers/staging/rtl8723bs/include/rtw_security.h

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -171,20 +171,20 @@ struct security_priv {
171171
#define GET_ENCRY_ALGO(psecuritypriv, psta, encry_algo, bmcst)\
172172
do {\
173173
switch (psecuritypriv->dot11AuthAlgrthm) {\
174-
case dot11AuthAlgrthm_Open:\
175-
case dot11AuthAlgrthm_Shared:\
176-
case dot11AuthAlgrthm_Auto:\
177-
encry_algo = (u8)psecuritypriv->dot11PrivacyAlgrthm;\
178-
break;\
179-
case dot11AuthAlgrthm_8021X:\
180-
if (bmcst)\
181-
encry_algo = (u8)psecuritypriv->dot118021XGrpPrivacy;\
182-
else\
183-
encry_algo = (u8)psta->dot118021XPrivacy;\
184-
break;\
185-
case dot11AuthAlgrthm_WAPI:\
186-
encry_algo = (u8)psecuritypriv->dot11PrivacyAlgrthm;\
187-
break;\
174+
case dot11AuthAlgrthm_Open:\
175+
case dot11AuthAlgrthm_Shared:\
176+
case dot11AuthAlgrthm_Auto:\
177+
encry_algo = (u8)psecuritypriv->dot11PrivacyAlgrthm;\
178+
break;\
179+
case dot11AuthAlgrthm_8021X:\
180+
if (bmcst)\
181+
encry_algo = (u8)psecuritypriv->dot118021XGrpPrivacy;\
182+
else\
183+
encry_algo = (u8)psta->dot118021XPrivacy;\
184+
break;\
185+
case dot11AuthAlgrthm_WAPI:\
186+
encry_algo = (u8)psecuritypriv->dot11PrivacyAlgrthm;\
187+
break;\
188188
} \
189189
} while (0)
190190

0 commit comments

Comments
 (0)