crypto/scheduler: fix capability update

Fixes: 31439ee72b ("crypto/scheduler: add API implementations")
Cc: stable@dpdk.org

Signed-off-by: Fan Zhang <roy.fan.zhang@intel.com>
This commit is contained in:
Fan Zhang 2017-04-10 15:59:34 +01:00 committed by Pablo de Lara
parent 9d0748d2de
commit 7b46f62b81

View File

@ -64,7 +64,7 @@ sync_caps(struct rte_cryptodev_capabilities *caps,
for (j = 0; j < nb_slave_caps; j++) { for (j = 0; j < nb_slave_caps; j++) {
const struct rte_cryptodev_capabilities *s_cap = const struct rte_cryptodev_capabilities *s_cap =
&slave_caps[i]; &slave_caps[j];
if (s_cap->op != cap->op || s_cap->sym.xform_type != if (s_cap->op != cap->op || s_cap->sym.xform_type !=
cap->sym.xform_type) cap->sym.xform_type)