This is merely a historical archive of years 2008-2021, before the migration to mailman3.
A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.
laforge gerrit-no-reply at lists.osmocom.orglaforge has submitted this change. ( https://gerrit.osmocom.org/c/simtrace2/+/20738 )
Change subject: migrate from BSC_FD_* to OSMO_FD_*
......................................................................
migrate from BSC_FD_* to OSMO_FD_*
Change-Id: I01c834537e18eacdd1658f88a4b4a6d4690d87a6
---
M host/src/usb2udp.c
1 file changed, 4 insertions(+), 4 deletions(-)
Approvals:
Jenkins Builder: Verified
laforge: Looks good to me, approved
diff --git a/host/src/usb2udp.c b/host/src/usb2udp.c
index 57cee74..2c07a3a 100644
--- a/host/src/usb2udp.c
+++ b/host/src/usb2udp.c
@@ -88,7 +88,7 @@
libusb_submit_transfer(xfer);
} else if (xfer->endpoint == g_buf_out.ep) {
/* re-enable reading from the UDP side */
- g_udp_ofd.when |= BSC_FD_READ;
+ g_udp_ofd.when |= OSMO_FD_READ;
}
break;
default:
@@ -131,9 +131,9 @@
ofd->fd = fd;
ofd->cb = &ofd_libusb_cb;
if (events & POLLIN)
- ofd->when |= BSC_FD_READ;
+ ofd->when |= OSMO_FD_READ;
if (events & POLLOUT)
- ofd->when |= BSC_FD_WRITE;
+ ofd->when |= OSMO_FD_WRITE;
osmo_fd_register(ofd);
}
@@ -171,7 +171,7 @@
g_buf_out.xfer->length = rc;
/* disable further READ interest for the UDP socket */
- ofd->when &= ~BSC_FD_READ;
+ ofd->when &= ~OSMO_FD_READ;
/* submit the URB on the OUT end point */
libusb_submit_transfer(g_buf_out.xfer);
--
To view, visit https://gerrit.osmocom.org/c/simtrace2/+/20738
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: simtrace2
Gerrit-Branch: master
Gerrit-Change-Id: I01c834537e18eacdd1658f88a4b4a6d4690d87a6
Gerrit-Change-Number: 20738
Gerrit-PatchSet: 1
Gerrit-Owner: laforge <laforge at osmocom.org>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge at osmocom.org>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20201018/6f1ded31/attachment.htm>