[PATCH] osmocom-bb[master]: host/trxcon/trx_if.c: use proper names for burst handlers

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/.

Harald Welte gerrit-no-reply at lists.osmocom.org
Thu Feb 22 15:32:46 UTC 2018


Review at  https://gerrit.osmocom.org/6710

host/trxcon/trx_if.c: use proper names for burst handlers

Change-Id: I3d36e6d80fcf6353379aa308415c306e1a256a7d
---
M src/host/trxcon/trx_if.c
1 file changed, 3 insertions(+), 3 deletions(-)


  git pull ssh://gerrit.osmocom.org:29418/osmocom-bb refs/changes/10/6710/1

diff --git a/src/host/trxcon/trx_if.c b/src/host/trxcon/trx_if.c
index 1ee9440..c387bc1 100644
--- a/src/host/trxcon/trx_if.c
+++ b/src/host/trxcon/trx_if.c
@@ -525,7 +525,7 @@
 /* 148 bytes output symbol values, 0 & 1                                    */
 /* ------------------------------------------------------------------------ */
 
-static int trx_data_read_cb(struct osmo_fd *ofd, unsigned int what)
+static int trx_data_rx_cb(struct osmo_fd *ofd, unsigned int what)
 {
 	struct trx_instance *trx = ofd->data;
 	uint8_t buf[256];
@@ -577,7 +577,7 @@
 	return 0;
 }
 
-int trx_if_data(struct trx_instance *trx, uint8_t tn, uint32_t fn,
+int trx_if_tx_burst(struct trx_instance *trx, uint8_t tn, uint32_t fn,
 	uint8_t pwr, const ubit_t *bits)
 {
 	uint8_t buf[256];
@@ -646,7 +646,7 @@
 		goto error;
 
 	rc = trx_udp_open(trx_new, &trx_new->trx_ofd_data, host,
-		port + 102, port + 2, trx_data_read_cb);
+		port + 102, port + 2, trx_data_rx_cb);
 	if (rc < 0)
 		goto error;
 

-- 
To view, visit https://gerrit.osmocom.org/6710
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I3d36e6d80fcf6353379aa308415c306e1a256a7d
Gerrit-PatchSet: 1
Gerrit-Project: osmocom-bb
Gerrit-Branch: master
Gerrit-Owner: Harald Welte <laforge at gnumonks.org>



More information about the gerrit-log mailing list