staging: rtl8192e: indent statement properly
authorIan Kewish <iankewish@gmail.com>
Thu, 15 Apr 2021 18:06:45 +0000 (13:06 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 22 Apr 2021 08:38:42 +0000 (10:38 +0200)
Indent statement in an else branch.  Reported by checkpatch:
WARNING:SUSPECT_CODE_INDENT: suspect code indent for
conditional statements (8, 8)

Signed-off-by: Ian Kewish <iankewish@gmail.com>
Link: https://lore.kernel.org/r/20210415180645.65699-1-iankewish@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8192e/rtllib_crypt_tkip.c

index 238387d6221beaafd9e94d4429f5d712bc4a281d..4a760ecbc31e3011867f7b3d9b1acc7b6e61f25a 100644 (file)
@@ -291,7 +291,7 @@ static int rtllib_tkip_encrypt(struct sk_buff *skb, int hdr_len, void *priv)
                tkip_mixing_phase2(rc4key, tkey->key, tkey->tx_ttak,
                                   tkey->tx_iv16);
        } else
-       tkey->tx_phase1_done = 1;
+               tkey->tx_phase1_done = 1;
 
 
        len = skb->len - hdr_len;