From: Dean Michael Ancajas Date: Mon, 8 Dec 2014 20:55:21 +0000 (-0700) Subject: Staging: rtl8723au: os_dep: Fixed a coding style issue. X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=3895ed0b9ee9e0d731930e1fa4cdd8109b9c8ebe;p=GitHub%2FLineageOS%2FG12%2Fandroid_kernel_amlogic_linux-4.9.git Staging: rtl8723au: os_dep: Fixed a coding style issue. Fixed a coding style issue for braces. Signed-off-by: Dean Michael Ancajas Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/rtl8723au/os_dep/ioctl_cfg80211.c b/drivers/staging/rtl8723au/os_dep/ioctl_cfg80211.c index 82a8c06ab347..9e1304f01990 100644 --- a/drivers/staging/rtl8723au/os_dep/ioctl_cfg80211.c +++ b/drivers/staging/rtl8723au/os_dep/ioctl_cfg80211.c @@ -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)