]> rtime.felk.cvut.cz Git - frescor/fwp.git/commitdiff
fwp_vres: budget is now full by default.
authorMartin Molnar <molnam1@fel.cvut.cz>
Mon, 15 Dec 2008 21:16:50 +0000 (22:16 +0100)
committerMartin Molnar <molnam1@fel.cvut.cz>
Mon, 15 Dec 2008 21:16:50 +0000 (22:16 +0100)
fwp/lib/fwp/fwp_vres.c

index d5dae0b42a11a14f8aa4b5cbf28c035df43c6b78..e4a04569abde23d6c0c17a6f1a30ef20e8289c09 100644 (file)
@@ -405,7 +405,7 @@ static void* fwp_vres_tx_thread(void *_vres)
        /* just for sure */
        fwp_vres_sched_update(vres, &period, &budget);
        clock_gettime(CLOCK_MONOTONIC, &start_period);
-       curr_budget = budget;
+       curr_budget = 0;
 
        while (1) {
                /* wait for next period and then send */