staging: rtl8723bs: Remove unecessary braces from switch statement.

The switch statement in rtw_wx_set_auth() wraps individual cases in
braces for no reason.  Remove those braces and unindent the code.

Signed-off-by: Quytelda Kahja <quytelda@tamalin.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Quytelda Kahja 2018-03-27 01:40:59 -07:00 committed by Greg Kroah-Hartman
parent 5933a3c34e
commit 41ed8df9bd

View File

@ -2151,7 +2151,6 @@ static int rtw_wx_set_auth(struct net_device *dev,
*/
break;
case IW_AUTH_TKIP_COUNTERMEASURES:
{
if (param->value) {
/* wpa_supplicant is enabling the tkip countermeasure. */
padapter->securitypriv.btkip_countermeasure = true;
@ -2160,9 +2159,7 @@ static int rtw_wx_set_auth(struct net_device *dev,
padapter->securitypriv.btkip_countermeasure = false;
}
break;
}
case IW_AUTH_DROP_UNENCRYPTED:
{
/* HACK:
*
* wpa_supplicant calls set_wpa_enabled when the driver
@ -2189,7 +2186,6 @@ static int rtw_wx_set_auth(struct net_device *dev,
}
break;
}
case IW_AUTH_80211_AUTH_ALG:
/*
* It's the starting point of a link layer connection using wpa_supplicant