summaryrefslogtreecommitdiffstats
path: root/src/host/layer23/src/common/lapdm.c
diff options
context:
space:
mode:
authorSylvain Munaut <tnt@246tNt.com>2010-07-26 00:26:11 +0200
committerSylvain Munaut <tnt@246tNt.com>2010-07-27 20:51:52 +0200
commit0cbd5d0139123913d392d149f49807e68261c704 (patch)
tree0e3c751caf3916677fd0800b2f2ec9d98ebbad27 /src/host/layer23/src/common/lapdm.c
parentd1028f49a32d03ebd066bec87564d1d838ee420a (diff)
layer23: Unify the prefix of l1ctl TX functions
Some had tx_ph_XX, others l1ctl_tx_XXX and some l1ctl_tx_ph_XXX Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
Diffstat (limited to 'src/host/layer23/src/common/lapdm.c')
-rw-r--r--src/host/layer23/src/common/lapdm.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/host/layer23/src/common/lapdm.c b/src/host/layer23/src/common/lapdm.c
index 4aa4662c..f165f4e3 100644
--- a/src/host/layer23/src/common/lapdm.c
+++ b/src/host/layer23/src/common/lapdm.c
@@ -306,7 +306,7 @@ for (i = 0; i < msgb_l2len(msg); i++)
printf("\n");
#endif
lapdm_pad_msgb(msg, n201);
- return tx_ph_data_req(ms, msg, chan_nr, link_id);
+ return l1ctl_tx_data_req(ms, msg, chan_nr, link_id);
}
/* get next frame from the tx queue. because the ms has multiple datalinks,
@@ -362,7 +362,7 @@ for (i = 0; i < msgb_l2len(msg); i++)
printf("\n");
#endif
lapdm_pad_msgb(msg, n201);
- return tx_ph_data_req(ms, msg, chan_nr, link_id);
+ return l1ctl_tx_data_req(ms, msg, chan_nr, link_id);
}
/* Create RSLms various RSLms messages */
@@ -2013,9 +2013,9 @@ static int rslms_rx_chan_rqd(struct osmocom_ms *ms, struct msgb *msg)
}
/* TA = 0 - delay */
- rc = l1ctl_tx_ph_param_req(ms, 0 - cch->data[5], cch->data[7]);
+ rc = l1ctl_tx_param_req(ms, 0 - cch->data[5], cch->data[7]);
- rc = tx_ph_rach_req(ms, cch->data[1], cch->data[2], cch->data[3]);
+ rc = l1ctl_tx_rach_req(ms, cch->data[1], cch->data[2], cch->data[3]);
msgb_free(msg);