summaryrefslogtreecommitdiffstats
path: root/dma/nwl_buffers.h
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@dside.dyndns.org>2011-07-12 19:51:27 +0200
committerSuren A. Chilingaryan <csa@dside.dyndns.org>2011-07-12 19:51:27 +0200
commit9a7ec0c7c063c86e0c2775bbf7fb485c691d9bb9 (patch)
treec7b4a4ca1008490d677b18a261743a0ff85cc9dc /dma/nwl_buffers.h
parente455f83ca2e4ee7c39837309a422732167994cbf (diff)
downloadpcitool-9a7ec0c7c063c86e0c2775bbf7fb485c691d9bb9.tar.gz
pcitool-9a7ec0c7c063c86e0c2775bbf7fb485c691d9bb9.tar.bz2
pcitool-9a7ec0c7c063c86e0c2775bbf7fb485c691d9bb9.tar.xz
pcitool-9a7ec0c7c063c86e0c2775bbf7fb485c691d9bb9.zip
Few fixes
Diffstat (limited to 'dma/nwl_buffers.h')
-rw-r--r--dma/nwl_buffers.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/dma/nwl_buffers.h b/dma/nwl_buffers.h
index 35f4781..565eccf 100644
--- a/dma/nwl_buffers.h
+++ b/dma/nwl_buffers.h
@@ -151,7 +151,7 @@ static size_t dma_nwl_get_next_buffer(nwl_dma_t * ctx, pcilib_nwl_engine_descrip
}
static int dma_nwl_push_buffer(nwl_dma_t *ctx, pcilib_nwl_engine_description_t *info, size_t size, int eop, pcilib_timeout_t timeout) {
- int flags;
+ int flags = 0;
uint32_t val;
unsigned char *ring = pcilib_kmem_get_ua(ctx->pcilib, info->ring);