Staging: rtl8192e: fix a brace style issue
authorRigel Di Scala <zedr@zedr.com>
Wed, 12 Oct 2022 21:16:12 +0000 (21:16 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 20 Oct 2022 15:34:26 +0000 (17:34 +0200)
Fixed a coding style issue affecting a conditional if statement.

Signed-off-by: Rigel Di Scala <zedr@zedr.com>
Tested-by: Philipp Hortmann <philipp.g.hortmann@gmail.com>
Link: https://lore.kernel.org/r/20221012211612.75871-1-zedr@zedr.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8192e/rtl819x_BAProc.c

index 19d13b3..e932ad1 100644 (file)
@@ -180,11 +180,10 @@ static void rtllib_send_ADDBAReq(struct rtllib_device *ieee, u8 *dst,
 
        skb = rtllib_ADDBA(ieee, dst, pBA, 0, ACT_ADDBAREQ);
 
-       if (skb) {
+       if (skb)
                softmac_mgmt_xmit(skb, ieee);
-       } else {
+       else
                netdev_dbg(ieee->dev, "Failed to generate ADDBAReq packet.\n");
-       }
 }
 
 static void rtllib_send_ADDBARsp(struct rtllib_device *ieee, u8 *dst,