mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-09 06:41:06 -04:00
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>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
964d8936dd
commit
b4a53a6212
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user