summaryrefslogtreecommitdiffstats
path: root/drivers/staging/wilc1000/linux_mon.c
diff options
context:
space:
mode:
authorChaehyun Lim <chaehyun.lim@gmail.com>2016-02-01 21:26:44 +0900
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-02-03 15:34:29 -0800
commitb4a53a621223d2e6f3f4012c7165f5ccaca41d9c (patch)
tree922964be7e9b6a531343e7e2c52a2e67e3b3a696 /drivers/staging/wilc1000/linux_mon.c
parent964d8936dd3578c706214461e428167fb282a3e1 (diff)
downloadop-kernel-dev-b4a53a621223d2e6f3f4012c7165f5ccaca41d9c.zip
op-kernel-dev-b4a53a621223d2e6f3f4012c7165f5ccaca41d9c.tar.gz
staging: wilc1000: linux_mon: add braces on all arms of if statement
This patch adds braces on all arms of if statement found by checkpatch.pl CHECK: braces {} should be used on all arms of this statement Signed-off-by: Chaehyun Lim <chaehyun.lim@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/wilc1000/linux_mon.c')
-rw-r--r--drivers/staging/wilc1000/linux_mon.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/staging/wilc1000/linux_mon.c b/drivers/staging/wilc1000/linux_mon.c
index 53d0caf..255383c 100644
--- a/drivers/staging/wilc1000/linux_mon.c
+++ b/drivers/staging/wilc1000/linux_mon.c
@@ -278,8 +278,9 @@ static netdev_tx_t WILC_WFI_mon_xmit(struct sk_buff *skb,
if (!(memcmp(srcAdd, bssid, 6))) {
mon_mgmt_tx(mon_priv->real_ndev, skb->data, skb->len);
dev_kfree_skb(skb);
- } else
+ } else {
ret = wilc_mac_xmit(skb, mon_priv->real_ndev);
+ }
return ret;
}
OpenPOWER on IntegriCloud