summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/media.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/media.c b/src/media.c
index 7e4174d..e3cab86 100644
--- a/src/media.c
+++ b/src/media.c
@@ -128,8 +128,8 @@ int media_setup_link(struct media_device *media,
return ret;
}
- link->flags = flags;
- link->twin->flags = flags;
+ link->flags = ulink.flags;
+ link->twin->flags = ulink.flags;
return 0;
}