aboutsummaryrefslogtreecommitdiffstats
path: root/src/msc_conn.c
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2011-01-02 18:47:49 +0100
committerHolger Hans Peter Freyther <zecke@selfish.org>2011-01-17 11:21:11 +0100
commit569f1e171df2f055d0be5fc637e050a523a9ae8a (patch)
tree889e8751a8b433332fb3c5673b1129feb8453445 /src/msc_conn.c
parent346e1c4bc4266ad645aab88d6357518e17055fb3 (diff)
mtp: Rename mtp_link to mtp_link_set as this is the linkset
The link_udp is actually below the linkset. We need to get this right now and then can have multiple links.
Diffstat (limited to 'src/msc_conn.c')
-rw-r--r--src/msc_conn.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/msc_conn.c b/src/msc_conn.c
index 62459ec..89b39c7 100644
--- a/src/msc_conn.c
+++ b/src/msc_conn.c
@@ -46,9 +46,9 @@ static void msc_send_id_response(struct bsc_data *bsc);
static void msc_send(struct bsc_data *bsc, struct msgb *msg, int proto);
static void msc_schedule_reconnect(struct bsc_data *bsc);
-int send_or_queue_bsc_msg(struct mtp_link *link, int sls, struct msgb *msg)
+int send_or_queue_bsc_msg(struct mtp_link_set *link, int sls, struct msgb *msg)
{
- if (mtp_link_submit_sccp_data(link, sls, msg->l2h, msgb_l2len(msg)) != 0)
+ if (mtp_link_set_submit_sccp_data(link, sls, msg->l2h, msgb_l2len(msg)) != 0)
LOGP(DMSC, LOGL_ERROR, "Could not forward SCCP message.\n");
return 0;
}
@@ -122,7 +122,7 @@ static int ipaccess_a_fd_cb(struct bsc_fd *bfd)
{
int error;
struct ipaccess_head *hh;
- struct mtp_link *link;
+ struct mtp_link_set *link;
struct bsc_data *bsc;
struct msgb *msg;