]> xenbits.xensource.com Git - xenclient/linux-2.6.27-pq.git/commitdiff
Fixed last flag for ending loop in async rx sample.
authorRoss Philipson <ross.philipson@citrix.com>
Fri, 30 Oct 2009 18:42:46 +0000 (14:42 -0400)
committerRoss Philipson <ross.philipson@citrix.com>
Fri, 30 Oct 2009 18:42:46 +0000 (14:42 -0400)
 Changes to be committed:
modified:   master/v2v-async

master/v2v-async

index 77b32ed89511fb3cdf4ed06290c1b795893160a1..e83f8a2a6ce523dcca75119ab628e1ae5622a37c 100644 (file)
@@ -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);
 +