projects
/
oweals
/
netifd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
70dd0c0
)
fix device_lock/device_unlock imbalance in the hotplug device handling
author
Felix Fietkau
<nbd@openwrt.org>
Thu, 12 Jul 2012 21:20:01 +0000
(23:20 +0200)
committer
Felix Fietkau
<nbd@openwrt.org>
Thu, 12 Jul 2012 21:22:24 +0000
(23:22 +0200)
ubus.c
patch
|
blob
|
history
diff --git
a/ubus.c
b/ubus.c
index ee4b0319bf9ea56286b71dd3a309377a2b2a8e22..742cc432751b79069a993291801a1c400e279fff 100644
(file)
--- a/
ubus.c
+++ b/
ubus.c
@@
-563,9
+563,9
@@
netifd_iface_handle_device(struct ubus_context *ctx, struct ubus_object *obj,
return UBUS_STATUS_NOT_FOUND;
if (add)
- ret
urn
interface_add_link(iface, dev);
+ ret
=
interface_add_link(iface, dev);
else
- ret
urn
interface_remove_link(iface, dev);
+ ret
=
interface_remove_link(iface, dev);
device_unlock();