diff options
author | Jakub Grajciar <Jakub.Grajciar@pantheon.tech> | 2017-09-28 12:52:03 +0200 |
---|---|---|
committer | Damjan Marion <dmarion.lists@gmail.com> | 2017-10-04 09:48:00 +0000 |
commit | e2a4f07200d8d1eb6d7f801ed57ac14619a4f776 (patch) | |
tree | de3195fbf2b107593d05499ca560a8b8e4154043 /extras | |
parent | 9fefa9a697daf0e949ea7a2700ecaf2ba4d1d2cb (diff) |
libmemif: memif_rx_burst fix
Change-Id: I2f488fef828df8915b57552567e1be79efe69700
Signed-off-by: Jakub Grajciar <Jakub.Grajciar@pantheon.tech>
Diffstat (limited to 'extras')
-rw-r--r-- | extras/libmemif/src/main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/extras/libmemif/src/main.c b/extras/libmemif/src/main.c index 49427670b07..8cc0d66a75b 100644 --- a/extras/libmemif/src/main.c +++ b/extras/libmemif/src/main.c @@ -1843,8 +1843,8 @@ memif_rx_burst (memif_conn_handle_t conn, uint16_t qid, b1->desc_index = mq->last_head; i = 0; - b0->data_len = 0; - b0->buffer_len = 0; + b1->data_len = 0; + b1->buffer_len = 0; b1->data = memif_get_buffer (conn, ring, mq->last_head); b1->data_len += ring->desc[mq->last_head].length; |