Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 41ed8df9 authored by Quytelda Kahja's avatar Quytelda Kahja Committed by Greg Kroah-Hartman
Browse files

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: default avatarQuytelda Kahja <quytelda@tamalin.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 5933a3c3
Loading
Loading
Loading
Loading
+23 −27
Original line number Diff line number Diff line
@@ -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