ccid: Fix INT endpoint AIO completion handling
Change-Id: I2f6b296c581a5b96715ca39e5112af3fa8206712
This commit is contained in:
parent
cab5d15346
commit
a74fe0c999
|
@ -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
|
/* interrupt endpoint AIO has completed. This means the IRQ transfer
|
||||||
* which we generated has reached the host */
|
* which we generated has reached the host */
|
||||||
LOGP(DUSB, LOGL_DEBUG, "IRQ AIO completed, free()ing msgb\n");
|
LOGP(DUSB, LOGL_DEBUG, "IRQ AIO completed, free()ing msgb\n");
|
||||||
msgb_free(uh->aio_in.msg);
|
msgb_free(uh->aio_int.msg);
|
||||||
uh->aio_in.msg = NULL;
|
uh->aio_int.msg = NULL;
|
||||||
dequeue_aio_write_int(uh);
|
dequeue_aio_write_int(uh);
|
||||||
} else if (fd == uh->ep_in.fd) {
|
} else if (fd == uh->ep_in.fd) {
|
||||||
/* IN endpoint AIO has completed. This means the IN transfer which
|
/* IN endpoint AIO has completed. This means the IN transfer which
|
||||||
|
|
Loading…
Reference in New Issue