Staging: rtl8192u: ieee80211: Move { up one line.
PATCH 1/1 Staging: rtl8192u: ieee80211: Move { up one line.
That open brace { should be on the previous line.
This Error found with checkpatch.pl
Signed-off-by Hatice ERTURK <[email protected]>
--- drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_wep.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-)
drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_wep.c +2 -4
@@ -140,8 +140,7 @@ static int prism2_wep_encrypt(struct sk_buff *skb, int hdr_len, void *priv)/* Copy rest of the WEP key (the secret part) */ memcpy (key +3 , wep->key, wep->key_len); -if (!tcb_desc->bHwSec) - { +if (!tcb_desc->bHwSec) {/* Append little-endian CRC32 and encrypt it to produce ICV */ crc = ~crc32_le (~0 , pos, len);
@@ -198,8 +197,7 @@ static int prism2_wep_decrypt(struct sk_buff *skb, int hdr_len, void *priv)/* Apply RC4 to data and compute CRC32 over decrypted data */ plen = skb->len - hdr_len -8 ; -if (!tcb_desc->bHwSec) - { +if (!tcb_desc->bHwSec) {crypto_blkcipher_setkey (wep->rx_tfm, key, klen);sg_init_one (&sg, pos, plen+4 );
Signature · 1 line
1.9.1