mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-01-28 21:55:54 -05:00
staging: rtl8192e: add braces to if statement - style
Add braces on all arms of an if-else statement. Check found by checkpatch. Signed-off-by: Zach Turner <turnerzdp@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
bb1e67793f
commit
a55e7eecb5
@@ -377,10 +377,11 @@ static int rtllib_ccmp_set_key(void *key, int len, u8 *seq, void *priv)
|
||||
data->rx_pn[5] = seq[0];
|
||||
}
|
||||
crypto_cipher_setkey((void *)data->tfm, data->key, CCMP_TK_LEN);
|
||||
} else if (len == 0)
|
||||
} else if (len == 0) {
|
||||
data->key_set = 0;
|
||||
else
|
||||
} else {
|
||||
return -1;
|
||||
}
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user