[PATCH] staging: rtl8723bs: place opening brace on previous line

Guilherme Puida Moreira posted 1 patch 1 year, 4 months ago
drivers/staging/rtl8723bs/include/rtw_security.h | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
[PATCH] staging: rtl8723bs: place opening brace on previous line
Posted by Guilherme Puida Moreira 1 year, 4 months ago
Fix checkpatch diagnostic "ERROR: that open brace { should be on the
previous line" in rtw_security.h:173

Signed-off-by: Guilherme Puida Moreira <guilherme@puida.xyz>
---

Hello! This is my first patch, so go easy on me :^)

 drivers/staging/rtl8723bs/include/rtw_security.h | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/drivers/staging/rtl8723bs/include/rtw_security.h b/drivers/staging/rtl8723bs/include/rtw_security.h
index 98afbd305..c3e47d526 100644
--- a/drivers/staging/rtl8723bs/include/rtw_security.h
+++ b/drivers/staging/rtl8723bs/include/rtw_security.h
@@ -170,8 +170,7 @@ struct security_priv {
 
 #define GET_ENCRY_ALGO(psecuritypriv, psta, encry_algo, bmcst)\
 do {\
-	switch (psecuritypriv->dot11AuthAlgrthm)\
-	{\
+	switch (psecuritypriv->dot11AuthAlgrthm) {\
 		case dot11AuthAlgrthm_Open:\
 		case dot11AuthAlgrthm_Shared:\
 		case dot11AuthAlgrthm_Auto:\
-- 
2.20.1