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 <lafo...@gnumonks.org>

Reply via email to