From a880073ea1243e4a4cc472c086ca93f9fce57c50 Mon Sep 17 00:00:00 2001 From: Michal Sojka Date: Thu, 13 Aug 2009 15:10:09 +0200 Subject: [PATCH] Fix VRES flag values VRES flags are treated as bit numbers but was incorrectly defined as bit masks. --- fwp/lib/fwp/fwp_vres.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 = { -- 2.39.2