aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/rtl8723bs/os_dep/ioctl_linux.c
diff options
context:
space:
mode:
authorFranziska Naepelt <franziska.naepelt@googlemail.com>2023-07-22 23:57:36 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-07-27 10:04:45 +0200
commit4762c171b408a42b2e53e653d69df82e6004c1d3 (patch)
tree7c26acafa58977e6d22dd83ba2013f2b0c859eab /drivers/staging/rtl8723bs/os_dep/ioctl_linux.c
parentstaging: rtl8723bs: Fix remaining blank line issue (diff)
downloadlinux-stable-4762c171b408a42b2e53e653d69df82e6004c1d3.tar.xz
linux-stable-4762c171b408a42b2e53e653d69df82e6004c1d3.zip
staging: rtl8723bs: ioctl_linux: Fix else on next line
Fix the following checkpatch issue: - ERROR: else should follow close brace '}' Signed-off-by: Franziska Naepelt <franziska.naepelt@googlemail.com> Link: https://lore.kernel.org/r/20230722215736.4183-1-franziska.naepelt@googlemail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/rtl8723bs/os_dep/ioctl_linux.c')
-rw-r--r--drivers/staging/rtl8723bs/os_dep/ioctl_linux.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/staging/rtl8723bs/os_dep/ioctl_linux.c b/drivers/staging/rtl8723bs/os_dep/ioctl_linux.c
index 40a3157fb735..b8595b28bceb 100644
--- a/drivers/staging/rtl8723bs/os_dep/ioctl_linux.c
+++ b/drivers/staging/rtl8723bs/os_dep/ioctl_linux.c
@@ -654,8 +654,7 @@ static int rtw_set_encryption(struct net_device *dev, struct ieee_param *param,
psecuritypriv->busetkipkey = true;
- }
- else if (strcmp(param->u.crypt.alg, "CCMP") == 0) {
+ } else if (strcmp(param->u.crypt.alg, "CCMP") == 0) {
psecuritypriv->dot118021XGrpPrivacy = _AES_;
memcpy(grpkey, param->u.crypt.key, (param->u.crypt.key_len > 16 ? 16 : param->u.crypt.key_len));