projects
/
project
/
netifd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
s/set_interface_up/interface_set_up/
[project/netifd.git]
/
ubus.c
diff --git
a/ubus.c
b/ubus.c
index
2e98b2b
..
1239b1b
100644
(file)
--- a/
ubus.c
+++ b/
ubus.c
@@
-33,7
+33,7
@@
static int netifd_handle_device(struct ubus_context *ctx, struct ubus_object *ob
if (!tb[DEV_NAME])
return UBUS_STATUS_INVALID_ARGUMENT;
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;
if (!dev)
return UBUS_STATUS_NOT_FOUND;
@@
-94,7
+94,7
@@
static int netifd_handle_up(struct ubus_context *ctx, struct ubus_object *obj,
struct interface *iface;
iface = container_of(obj, struct interface, ubus);
struct interface *iface;
iface = container_of(obj, struct interface, ubus);
-
set_interface
_up(iface);
+
interface_set
_up(iface);
return 0;
}
return 0;
}