Update stored link flags correctly in media_setup_link()
authorTodor Tomov <ttomov@mm-sol.com>
Fri, 8 Apr 2011 08:07:30 +0000 (11:07 +0300)
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Fri, 8 Apr 2011 08:32:49 +0000 (10:32 +0200)
commit5a5014feb7aeef1ccf8146e0a4fb53fc5d22bdcd
tree8e1a9f032ad874b5729974925027a0f4a1edb36e
parent28212f9aa0d44a85818c9a1fdf7e743bf0d69e12
Update stored link flags correctly in media_setup_link()

The flags stored in media_link structure are not updated correctly if
media_setup_link() is called on an immutable link - the immutable flag
is cleared. Fix this.

Signed-off-by: Todor Tomov <ttomov@mm-sol.com>
src/media.c