mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-14 16:46:15 -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:
parent
964d8936dd
commit
b4a53a6212
1 changed files with 2 additions and 1 deletions
|
|
@ -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 a new issue