From: Michal Sojka Date: Thu, 13 Aug 2009 13:10:09 +0000 (+0200) Subject: Fix VRES flag values X-Git-Url: http://rtime.felk.cvut.cz/gitweb/frescor/fwp.git/commitdiff_plain/a880073ea1243e4a4cc472c086ca93f9fce57c50 Fix VRES flag values VRES flags are treated as bit numbers but was incorrectly defined as bit masks. --- diff --git a/fwp/lib/fwp/fwp_vres.c b/fwp/lib/fwp/fwp_vres.c index 94de6ff..1bed4c9 100644 --- a/fwp/lib/fwp/fwp_vres.c +++ b/fwp/lib/fwp/fwp_vres.c @@ -57,9 +57,9 @@ static void* fwp_vres_tx_thread(void *_vres); typedef enum { - FWP_VF_USED = 1 , - FWP_VF_BOUND = 2 , - FWP_VF_RESCHED = 4 , + FWP_VF_USED = 0, + FWP_VF_BOUND = 1, + FWP_VF_RESCHED = 2, } fwp_vres_flag_t; fwp_vres_params_t fwp_vres_params_default = {