diff options
author | Jianhua Xie <Jianhua.Xie@freescale.com> | 2015-04-23 12:27:35 (GMT) |
---|---|---|
committer | Honghua Yin <Hong-Hua.Yin@freescale.com> | 2015-04-28 08:07:42 (GMT) |
commit | 995e0cb06bf8200a365dee9e61c072f73dc6d51e (patch) | |
tree | 81743dca4d31f12520e10abb2320398c6b00c628 /drivers/net | |
parent | c7c032799b69cac044c49f7108247453f8342924 (diff) | |
download | linux-fsl-qoriq-995e0cb06bf8200a365dee9e61c072f73dc6d51e.tar.xz |
bonding: Fix missed brace
Change-Id: I6738d25d36476502c93f28f5023df95c4ba7adb3
Reviewed-on: http://git.am.freescale.net:8181/35494
Reviewed-by: Pan Jiafei <Jiafei.Pan@freescale.com>
Signed-off-by: Jianhua Xie <jianhua.xie@freescale.com>
Change-Id: Ie61c478a82ce07b53fee94fcbc78984343168232
Reviewed-on: http://git.am.freescale.net:8181/35653
Tested-by: Review Code-CDREVIEW <CDREVIEW@freescale.com>
Reviewed-by: Honghua Yin <Hong-Hua.Yin@freescale.com>
Diffstat (limited to 'drivers/net')
-rw-r--r-- | drivers/net/bonding/bond_3ad.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/bonding/bond_3ad.c b/drivers/net/bonding/bond_3ad.c index 06aafbd..7091fb7 100644 --- a/drivers/net/bonding/bond_3ad.c +++ b/drivers/net/bonding/bond_3ad.c @@ -2445,9 +2445,10 @@ int bond_3ad_xmit_xor(struct sk_buff *skb, struct net_device *dev) /* exclude ARP/LACP */ if ((bond->slave_cnt == SLAVES_PER_BOND) && are_all_slaves_linkup(bond) && - (bond->params.ohp) && (bond->params.ohp->oh_en == 1)) + (bond->params.ohp) && (bond->params.ohp->oh_en)) { res = enqueue_pkt_to_oh(bond, skb, NULL); goto out; + } #endif slave_agg_no = bond->xmit_hash_policy(skb, slaves_in_agg); |