From 06197957265b176d27ebeb8cb6bc1504e96e9032 Mon Sep 17 00:00:00 2001 From: Michal Sojka Date: Thu, 28 May 2009 00:23:52 +0200 Subject: [PATCH] Fix fra warning <2>fra: change_vres callback did not change the perceived vres! --- fwp/lib/frsh_fwp/fwp_fra.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/fwp/lib/frsh_fwp/fwp_fra.c b/fwp/lib/frsh_fwp/fwp_fra.c index 451df78..4811e33 100644 --- a/fwp/lib/frsh_fwp/fwp_fra.c +++ b/fwp/lib/frsh_fwp/fwp_fra.c @@ -136,6 +136,8 @@ int change_vres(fres_vres_t *vres, void *priv) printf("Changing FWP VRes (id=%s, period=%ld ms, budget=%ld bytes AC=%d)\n", id, fosa_rel_time_to_msec(basic->period), vparams.budget, vparams.ac_id); + + vres->perceived = vres->new; return 0; } -- 2.39.2