Commit 879cb0c9 authored by Dan Carpenter's avatar Dan Carpenter Committed by Greg Kroah-Hartman

staging: rtl8712: fix some confusing indenting

These set off a static checker warning about "warn: add curly braces?",
but actually the code it correct, it's just the indenting which is
wrong.
Signed-off-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 88fa1ebf
...@@ -1253,8 +1253,9 @@ static sint aes_decipher(u8 *key, uint hdrlen, ...@@ -1253,8 +1253,9 @@ static sint aes_decipher(u8 *key, uint hdrlen,
if (hdrlen != WLAN_HDR_A3_QOS_LEN) if (hdrlen != WLAN_HDR_A3_QOS_LEN)
hdrlen += 2; hdrlen += 2;
qc_exists = 1; qc_exists = 1;
} else } else {
qc_exists = 0; qc_exists = 0;
}
/* now, decrypt pframe with hdrlen offset and plen long */ /* now, decrypt pframe with hdrlen offset and plen long */
payload_index = hdrlen + 8; /* 8 is for extiv */ payload_index = hdrlen + 8; /* 8 is for extiv */
for (i = 0; i < num_blocks; i++) { for (i = 0; i < num_blocks; i++) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment