mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-16 03:06:58 +07: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:
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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user