diff options
author | Martin Homuth | 2017-12-19 00:24:05 +0100 |
---|---|---|
committer | Greg Kroah-Hartman | 2017-12-19 15:27:44 +0100 |
commit | e34fc47a3fa8fd177f7034dda952104c58ade897 (patch) | |
tree | f4406913a5ac613c0509f916c2a46b00b6d3fc39 /drivers/staging/rtl8712/rtl871x_security.c | |
parent | staging: rtl8712: style fix over 80 characters warnings (diff) | |
download | kernel-qcow2-linux-e34fc47a3fa8fd177f7034dda952104c58ade897.tar.gz kernel-qcow2-linux-e34fc47a3fa8fd177f7034dda952104c58ade897.tar.xz kernel-qcow2-linux-e34fc47a3fa8fd177f7034dda952104c58ade897.zip |
staging: rtl8712: style fix indentation
This patch fixes various coding style issues in the rtl8712 module as
noted by checkpatch.pl related to indentation.
It fixes the following checkpatch.pl warning:
WARNING: suspect code indent for conditional statements
Signed-off-by: Martin Homuth <martin@martinhomuth.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/rtl8712/rtl871x_security.c')
-rw-r--r-- | drivers/staging/rtl8712/rtl871x_security.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/staging/rtl8712/rtl871x_security.c b/drivers/staging/rtl8712/rtl871x_security.c index f4591529b080..625c3249a7bf 100644 --- a/drivers/staging/rtl8712/rtl871x_security.c +++ b/drivers/staging/rtl8712/rtl871x_security.c @@ -1068,16 +1068,16 @@ static sint aes_cipher(u8 *key, uint hdrlen, if ((frtype == WIFI_DATA_CFACK) || (frtype == WIFI_DATA_CFPOLL) || (frtype == WIFI_DATA_CFACKPOLL)) { - qc_exists = 1; - if (hdrlen != WLAN_HDR_A3_QOS_LEN) - hdrlen += 2; + qc_exists = 1; + if (hdrlen != WLAN_HDR_A3_QOS_LEN) + hdrlen += 2; } else if ((frsubtype == 0x08) || (frsubtype == 0x09) || (frsubtype == 0x0a) || (frsubtype == 0x0b)) { - if (hdrlen != WLAN_HDR_A3_QOS_LEN) - hdrlen += 2; - qc_exists = 1; + if (hdrlen != WLAN_HDR_A3_QOS_LEN) + hdrlen += 2; + qc_exists = 1; } else { qc_exists = 0; } |