summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVadim Yanitskiy <axilirator@gmail.com>2017-07-12 17:48:01 +0700
committerVadim Yanitskiy <axilirator@gmail.com>2017-10-23 22:05:49 +0330
commitddfe487727536dbdd74c8cf6a6145a3f30877e4d (patch)
treeaa84b33297f86426d3234bd29f8ebcd814634fe8
parent0cbded72d971d67aea931d0266658d518417b815 (diff)
host/trxcon/trx_if.c: use proper names for burst handlers
-rw-r--r--src/host/trxcon/trx_if.c6
1 files changed, 3 insertions, 3 deletions
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 @@ rsp_error:
/* 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 @@ static int trx_data_read_cb(struct osmo_fd *ofd, unsigned int what)
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 @@ int trx_if_open(struct trx_instance **trx, const char *host, uint16_t port)
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;