Message ID | 1291732778-27441-10-git-send-email-linus.luessing@ascom.ch |
---|---|
State | Superseded, archived |
Headers | show |
diff --git a/bat_sysfs.c b/bat_sysfs.c index 98c10a3..1dcd986 100644 --- a/bat_sysfs.c +++ b/bat_sysfs.c @@ -572,10 +572,12 @@ static ssize_t show_iface_status(struct kobject *kobj, struct attribute *attr, static BAT_ATTR(mesh_iface, S_IRUGO | S_IWUSR, show_mesh_iface, store_mesh_iface); static BAT_ATTR(iface_status, S_IRUGO, show_iface_status, NULL); +BAT_ATTR_IF_UINT(ndp_interval, S_IRUGO | S_IWUSR, 2 * JITTER, INT_MAX, NULL); static struct bat_attribute *batman_attrs[] = { &bat_attr_mesh_iface, &bat_attr_iface_status, + &bat_attr_ndp_interval, NULL, };