From a832d2ae75f3d1fd6b7f1dc3dfc1f95294c7ba35 Mon Sep 17 00:00:00 2001 From: Ross Philipson Date: Fri, 30 Oct 2009 14:42:46 -0400 Subject: [PATCH] Fixed last flag for ending loop in async rx sample. Changes to be committed: modified: master/v2v-async --- master/v2v-async | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/master/v2v-async b/master/v2v-async index 77b32ed..e83f8a2 100644 --- a/master/v2v-async +++ b/master/v2v-async @@ -1233,7 +1233,7 @@ index 0c2798c..83854a2 100644 + if ((ctx->tx_counter == ctx->config->xfer_count)&&(ctx->rx_counter == ctx->tx_counter)) { + ctx->s.async.term_status = V2V_TERM_COMPLETE; + v2v_set_wake_reason(ctx->channel, V2V_WAKE_REASON_TERMINATE); -+ last = 0; ++ last = 1; + } + spin_unlock_irqrestore(&ctx->s.async.tx_lock, flags); + -- 2.39.5