Message ID | 20200427150039.28730-4-sw@simonwunderlich.de |
---|---|
State | Not Applicable, archived |
Delegated to: | Simon Wunderlich |
Headers | show |
Series | [1/4] batman-adv: fix batadv_nc_random_weight_tq | expand |
diff --git a/net/batman-adv/sysfs.c b/net/batman-adv/sysfs.c index c0b00268aac4..0f962dcd239e 100644 --- a/net/batman-adv/sysfs.c +++ b/net/batman-adv/sysfs.c @@ -1150,7 +1150,7 @@ static ssize_t batadv_store_throughput_override(struct kobject *kobj, ret = batadv_parse_throughput(net_dev, buff, "throughput_override", &tp_override); if (!ret) - return count; + goto out; old_tp_override = atomic_read(&hard_iface->bat_v.throughput_override); if (old_tp_override == tp_override)