Skip to contentSkip to conversation

staging: rtl8192u: ieee80211: ieee80211_tx.c: Adjust space around else.

PATCH New Sanjana Sanikommu 1 participant 1 message Mar 19, 2019 Staging

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 staging: rtl8192u: ieee80211: ieee80211_tx.c: Adjust space around else.

Fix the spacce around else.
Issue found by checkpatch.pl

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

---
Changes in v2:
Correct the patch number.
Remove From line.

 drivers/staging/rtl8192u/ieee80211/ieee80211_tx.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/rtl8192u/ieee80211/ieee80211_tx.c +1 -1
index 024fa2702546..19e5b4fdd524 100644
@@ -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);
Signature · 1 line
2.17.1