aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPhilipp Maier <pmaier@sysmocom.de>2017-07-03 16:47:27 +0200
committerNeels Hofmeyr <neels@hofmeyr.de>2017-07-25 15:14:15 +0200
commit3ae6040afde4a2d02f37c3534f35a64ef2bc5539 (patch)
tree826adadb2c6750a951f8671343e0ab8f44155eb3 /src
parent9b0db3860c605d44edf0580e1812b3adbbffd0e9 (diff)
osmo-bsc change bsc_handle_dt1() to bsc_handle_dt()
_dt1() is not applicable with the current setup, _dt() is more accurate
Diffstat (limited to 'src')
-rw-r--r--src/osmo-bsc/osmo_bsc_bssap.c4
-rw-r--r--src/osmo-bsc/osmo_bsc_sigtran.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/osmo-bsc/osmo_bsc_bssap.c b/src/osmo-bsc/osmo_bsc_bssap.c
index 8d74e6e77..b83d7ec76 100644
--- a/src/osmo-bsc/osmo_bsc_bssap.c
+++ b/src/osmo-bsc/osmo_bsc_bssap.c
@@ -696,8 +696,8 @@ int bsc_handle_udt(struct bsc_msc_data *msc,
return 0;
}
-int bsc_handle_dt1(struct osmo_bsc_sccp_con *conn,
- struct msgb *msg, unsigned int len)
+int bsc_handle_dt(struct osmo_bsc_sccp_con *conn,
+ struct msgb *msg, unsigned int len)
{
if (len < sizeof(struct bssmap_header)) {
LOGP(DMSC, LOGL_ERROR, "The header is too short.\n");
diff --git a/src/osmo-bsc/osmo_bsc_sigtran.c b/src/osmo-bsc/osmo_bsc_sigtran.c
index bb31f0e65..1b654b3a1 100644
--- a/src/osmo-bsc/osmo_bsc_sigtran.c
+++ b/src/osmo-bsc/osmo_bsc_sigtran.c
@@ -124,7 +124,7 @@ static int handle_data_from_msc(int conn_id, struct msgb *msg)
if (bsc_con) {
msg->l3h = msgb_l2(msg);
- rc = bsc_handle_dt1(bsc_con, msg, msgb_l2len(msg));
+ rc = bsc_handle_dt(bsc_con, msg, msgb_l2len(msg));
} else
LOGP(DMSC, LOGL_NOTICE, "incoming data from unknown connection id: %i\n", conn_id);