aboutsummaryrefslogtreecommitdiff
path: root/net/can/can_host.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/can/can_host.c')
-rw-r--r--net/can/can_host.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/can/can_host.c b/net/can/can_host.c
index c3d26521cd..c79347abab 100644
--- a/net/can/can_host.c
+++ b/net/can/can_host.c
@@ -77,7 +77,7 @@ static void can_host_instance_init(Object *obj)
object_property_add_link(obj, "canbus", TYPE_CAN_BUS,
(Object **)&ch->bus,
object_property_allow_set_link,
- OBJ_PROP_LINK_UNREF_ON_RELEASE,
+ OBJ_PROP_LINK_STRONG,
&error_abort);
}