From dcec5cd33126153292489ebd21ed0bd6cb86ea71 Mon Sep 17 00:00:00 2001 From: Todor Tomov Date: Fri, 11 Feb 2011 16:24:04 +0200 Subject: Update flags in twin link in media_setup_link() Fix media_setup_link() to update flags in twin link too. Signed-off-by: Todor Tomov --- src/media.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/media.c') diff --git a/src/media.c b/src/media.c index 114bd13..e0a96d7 100644 --- a/src/media.c +++ b/src/media.c @@ -129,6 +129,7 @@ int media_setup_link(struct media_device *media, } link->flags = flags; + link->twin->flags = flags; return 0; } -- cgit v1.2.3