diff options
Diffstat (limited to 'drivers/net/bonding/bond_sysfs.c')
-rw-r--r-- | drivers/net/bonding/bond_sysfs.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/bonding/bond_sysfs.c b/drivers/net/bonding/bond_sysfs.c index c81b97cffaa3..de87aea6d01a 100644 --- a/drivers/net/bonding/bond_sysfs.c +++ b/drivers/net/bonding/bond_sysfs.c | |||
@@ -1584,9 +1584,9 @@ static ssize_t bonding_store_slaves_active(struct device *d, | |||
1584 | bond_for_each_slave(bond, slave, i) { | 1584 | bond_for_each_slave(bond, slave, i) { |
1585 | if (!bond_is_active_slave(slave)) { | 1585 | if (!bond_is_active_slave(slave)) { |
1586 | if (new_value) | 1586 | if (new_value) |
1587 | slave->dev->priv_flags &= ~IFF_SLAVE_INACTIVE; | 1587 | slave->inactive = 0; |
1588 | else | 1588 | else |
1589 | slave->dev->priv_flags |= IFF_SLAVE_INACTIVE; | 1589 | slave->inactive = 1; |
1590 | } | 1590 | } |
1591 | } | 1591 | } |
1592 | out: | 1592 | out: |