X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=app%2Ftest%2Ftest_cryptodev.c;h=a1f8717bebfa611bef6ae439d299787d13a7e867;hb=refs%2Ftags%2Fupstream%2F16.11.8;hp=24c72963993c79630a325f12dc6cd5c5975b9e2c;hpb=43192222b329b3c984687235b0081c7fbfe484ba;p=deb_dpdk.git diff --git a/app/test/test_cryptodev.c b/app/test/test_cryptodev.c index 24c72963..a1f8717b 100644 --- a/app/test/test_cryptodev.c +++ b/app/test/test_cryptodev.c @@ -516,7 +516,7 @@ test_device_configure_invalid_dev_id(void) dev_id = ts_params->valid_devs[ts_params->valid_dev_count - 1]; /* Stop the device in case it's started so it can be configured */ - rte_cryptodev_stop(ts_params->valid_devs[dev_id]); + rte_cryptodev_stop(dev_id); TEST_ASSERT_SUCCESS(rte_cryptodev_configure(dev_id, &ts_params->conf), "Failed test for rte_cryptodev_configure: "