From a74fe0c99956d55f2b3674664ec0b46934a687ea Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Thu, 16 May 2019 13:46:10 +0200 Subject: [PATCH] ccid: Fix INT endpoint AIO completion handling Change-Id: I2f6b296c581a5b96715ca39e5112af3fa8206712 --- ccid/ccid_main_functionfs.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ccid/ccid_main_functionfs.c b/ccid/ccid_main_functionfs.c index 06ab0f3..62bc402 100644 --- a/ccid/ccid_main_functionfs.c +++ b/ccid/ccid_main_functionfs.c @@ -332,8 +332,8 @@ static int evfd_cb(struct osmo_fd *ofd, unsigned int what) /* interrupt endpoint AIO has completed. This means the IRQ transfer * which we generated has reached the host */ LOGP(DUSB, LOGL_DEBUG, "IRQ AIO completed, free()ing msgb\n"); - msgb_free(uh->aio_in.msg); - uh->aio_in.msg = NULL; + msgb_free(uh->aio_int.msg); + uh->aio_int.msg = NULL; dequeue_aio_write_int(uh); } else if (fd == uh->ep_in.fd) { /* IN endpoint AIO has completed. This means the IN transfer which