From 55c8721cd2682a360c3eaeb6c51ef3455c320416 Mon Sep 17 00:00:00 2001 From: dimitri staessens Date: Tue, 21 Mar 2017 14:07:59 +0100 Subject: ipcpd: Fill qosspec in complete gam policy The temporary cube parameter must be initialized if a qosspec is passed to avoid uninitialized values for the qoscube in the prototype. --- src/ipcpd/normal/pol/complete.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/ipcpd/normal/pol/complete.c b/src/ipcpd/normal/pol/complete.c index 3a9dd548..1f3f6031 100644 --- a/src/ipcpd/normal/pol/complete.c +++ b/src/ipcpd/normal/pol/complete.c @@ -83,6 +83,9 @@ static void * allocator(void * o) qs.delay = 0; qs.jitter = 0; + /* FIXME: implement QoS specs */ + qs.cube = QOS_CUBE_BE; + /* FIXME: subscribe to members to keep the graph complete. */ len = rib_children("/" MEMBERS_NAME, &children); for (i = 0; i < len; ++i) { -- cgit v1.2.3