aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/bonding/bond_main.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/bonding/bond_main.c')
-rw-r--r--drivers/net/bonding/bond_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/bonding/bond_main.c b/drivers/net/bonding/bond_main.c
index 5f5b69f37d2e..c8bff3e83a59 100644
--- a/drivers/net/bonding/bond_main.c
+++ b/drivers/net/bonding/bond_main.c
@@ -1838,7 +1838,7 @@ int bond_enslave(struct net_device *bond_dev, struct net_device *slave_dev)
1838 * anyway (it holds no special properties of the bond device), 1838 * anyway (it holds no special properties of the bond device),
1839 * so we can change it without calling change_active_interface() 1839 * so we can change it without calling change_active_interface()
1840 */ 1840 */
1841 if (!bond->curr_active_slave) 1841 if (!bond->curr_active_slave && new_slave->link == BOND_LINK_UP)
1842 bond->curr_active_slave = new_slave; 1842 bond->curr_active_slave = new_slave;
1843 1843
1844 break; 1844 break;