if (!tb[DEV_NAME])
return UBUS_STATUS_INVALID_ARGUMENT;
- dev = get_device(blobmsg_data(tb[DEV_NAME]), false);
+ dev = device_get(blobmsg_data(tb[DEV_NAME]), false);
if (!dev)
return UBUS_STATUS_NOT_FOUND;
struct interface *iface;
iface = container_of(obj, struct interface, ubus);
- set_interface_up(iface);
+ interface_set_up(iface);
return 0;
}