1
1

set ep to NULL to avoid double close

Per suggestion of @awlauria

Signed-off-by: Harumi Kuno <harumi.kuno@hpe.com>
(cherry picked from commit ab4875ddc2b76ceced120fbfe09d8dcbde6e6ff3)
Signed-off-by: Brian Barrett <bbarrett@amazon.com>
Этот коммит содержится в:
Harumi Kuno 2020-03-10 17:39:59 -06:00 коммит произвёл Brian Barrett
родитель faaaf5ca1c
Коммит 2e137ae31c

Просмотреть файл

@ -581,6 +581,7 @@ fail:
/* close basic ep before closing av */
if (NULL != ep && !module->is_scalable_ep) {
fi_close(&ep->fid);
ep = NULL;
}
/* if the contexts have not been initiated, num_contexts should