Staging: rtl8723au: os_dep: Fixed a coding style issue.
authorDean Michael Ancajas <dbancajas@gmail.com>
Mon, 8 Dec 2014 20:55:21 +0000 (13:55 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 17 Jan 2015 21:54:01 +0000 (13:54 -0800)
Fixed a coding style issue for braces.

Signed-off-by: Dean Michael Ancajas <dbancajas@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723au/os_dep/ioctl_cfg80211.c

index 82a8c06ab3471a9dfea16e0c6c9ce3299e72e681..9e1304f01990dd85f5dc9cea1ccee871ebf45854 100644 (file)
@@ -1468,9 +1468,8 @@ static int rtw_cfg80211_set_wpa_version(struct security_priv *psecuritypriv,
                return 0;
        }
 
-       if (wpa_version & (NL80211_WPA_VERSION_1 | NL80211_WPA_VERSION_2)) {
+       if (wpa_version & (NL80211_WPA_VERSION_1 | NL80211_WPA_VERSION_2))
                psecuritypriv->ndisauthtype = Ndis802_11AuthModeWPAPSK;
-       }
 
 /*
        if (wpa_version & NL80211_WPA_VERSION_2)