staging: rtl8192u: ieee80211: ieee80211_tx.c: Adjust space around else.
authorSanjana Sanikommu <sanjana99reddy99@gmail.com>
Tue, 19 Mar 2019 17:46:28 +0000 (23:16 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 20 Mar 2019 06:50:35 +0000 (07:50 +0100)
Fix the spacce around else.
Issue found by checkpatch.pl

ERROR: spaces required before that open brace '{'
ERROR: spaces required before that close brace '}'

Signed-off-by: Sanjana Sanikommu <sanjana99reddy99@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8192u/ieee80211/ieee80211_tx.c

index ea9c69e..29ee9fd 100644 (file)
@@ -851,7 +851,7 @@ int ieee80211_xmit(struct sk_buff *skb, struct net_device *dev)
                  else
                        ieee->seq_ctrl[0]++;
                }
-       }else{
+       } else {
                if (unlikely(skb->len < sizeof(struct rtl_80211_hdr_3addr))) {
                        printk(KERN_WARNING "%s: skb too small (%d).\n",
                        ieee->dev->name, skb->len);