bonding: convert arp_interval to use the new option API
[deliverable/linux.git] / drivers / net / bonding / bond_netlink.c
index efdff6cb19a9bb8ad3e8945316b24d16cda3f689..74463f3db8b6ed731abe327624575be5795e89b3 100644 (file)
@@ -166,7 +166,8 @@ static int bond_changelink(struct net_device *bond_dev,
                        return -EINVAL;
                }
 
-               err = bond_option_arp_interval_set(bond, arp_interval);
+               bond_opt_initval(&newval, arp_interval);
+               err = __bond_opt_set(bond, BOND_OPT_ARP_INTERVAL, &newval);
                if (err)
                        return err;
        }
This page took 0.029544 seconds and 5 git commands to generate.