From 7b46f62b8159dc5444cdcd48a46c6656b221510c Mon Sep 17 00:00:00 2001 From: Fan Zhang Date: Mon, 10 Apr 2017 15:59:34 +0100 Subject: [PATCH] crypto/scheduler: fix capability update Fixes: 31439ee72b2c ("crypto/scheduler: add API implementations") Cc: stable@dpdk.org Signed-off-by: Fan Zhang --- drivers/crypto/scheduler/rte_cryptodev_scheduler.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/crypto/scheduler/rte_cryptodev_scheduler.c b/drivers/crypto/scheduler/rte_cryptodev_scheduler.c index 3befb81cd0..31309c5620 100644 --- a/drivers/crypto/scheduler/rte_cryptodev_scheduler.c +++ b/drivers/crypto/scheduler/rte_cryptodev_scheduler.c @@ -64,7 +64,7 @@ sync_caps(struct rte_cryptodev_capabilities *caps, for (j = 0; j < nb_slave_caps; j++) { const struct rte_cryptodev_capabilities *s_cap = - &slave_caps[i]; + &slave_caps[j]; if (s_cap->op != cap->op || s_cap->sym.xform_type != cap->sym.xform_type) -- 2.20.1