Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1579107 > unrolled thread

[PATCH 03/15] staging: rtl8192u: Fixing multiple assignments

Started bysimran singhal <singhalsimran0@gmail.com>
First post2017-02-11 21:40 +0100
Last post2017-02-11 21:40 +0100
Articles 1 — 1 participant

Back to article view | Back to linux.kernel


Contents

  [PATCH 03/15] staging: rtl8192u: Fixing multiple assignments simran singhal <singhalsimran0@gmail.com> - 2017-02-11 21:40 +0100

#1579107 — [PATCH 03/15] staging: rtl8192u: Fixing multiple assignments

Fromsimran singhal <singhalsimran0@gmail.com>
Date2017-02-11 21:40 +0100
Subject[PATCH 03/15] staging: rtl8192u: Fixing multiple assignments
Message-ID<t9MCC-5gO-23@gated-at.bofh.it>
This patch modifies the assignments into single assignments.

Signed-off-by: simran singhal <singhalsimran0@gmail.com>
---
 drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_ccmp.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_ccmp.c b/drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_ccmp.c
index c4abfd1..21abb2d 100644
--- a/drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_ccmp.c
+++ b/drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_ccmp.c
@@ -181,7 +181,8 @@ static void ccmp_init_blocks(struct crypto_tfm *tfm,
 	xor_block(auth, &aad[AES_BLOCK_LEN], AES_BLOCK_LEN);
 	ieee80211_ccmp_aes_encrypt(tfm, auth, auth);
 	b0[0] &= 0x07;
-	b0[14] = b0[15] = 0;
+	b0[14] = 0;
+	b0[15] = 0;
 	ieee80211_ccmp_aes_encrypt(tfm, b0, s0);
 }
 
-- 
2.7.4

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web