diff options
Diffstat (limited to 'drivers/net/bonding/bond_3ad.c')
-rw-r--r-- | drivers/net/bonding/bond_3ad.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/bonding/bond_3ad.c b/drivers/net/bonding/bond_3ad.c index c861ee7e65ff..1337eafe4311 100644 --- a/drivers/net/bonding/bond_3ad.c +++ b/drivers/net/bonding/bond_3ad.c | |||
@@ -2117,7 +2117,7 @@ void bond_3ad_state_machine_handler(struct work_struct *work) | |||
2117 | read_lock(&bond->lock); | 2117 | read_lock(&bond->lock); |
2118 | 2118 | ||
2119 | //check if there are any slaves | 2119 | //check if there are any slaves |
2120 | if (list_empty(&bond->slave_list)) | 2120 | if (!bond_has_slaves(bond)) |
2121 | goto re_arm; | 2121 | goto re_arm; |
2122 | 2122 | ||
2123 | // check if agg_select_timer timer after initialize is timed out | 2123 | // check if agg_select_timer timer after initialize is timed out |