staging: rtl8192u: Fixing multiple assignments
authorsimran singhal <singhalsimran0@gmail.com>
Sat, 11 Feb 2017 20:37:38 +0000 (02:07 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 12 Feb 2017 12:42:59 +0000 (13:42 +0100)
This patch modifies the assignments into single assignments.

Signed-off-by: simran singhal <singhalsimran0@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_ccmp.c

index c4abfd1401f7d0a297cda009cff61ee60db78992..21abb2df7e19b946ca89422bc92e283e31cbdc3b 100644 (file)
@@ -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);
 }