From 5d930f8745ae6ecbe995cc353217d50c542d9b9f Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Fri, 8 Oct 2010 23:18:15 +0800 Subject: mtp: Store the mtp_link inside the connection Prepare to have multiple links to the BSC. --- src/msc_conn.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/msc_conn.c') diff --git a/src/msc_conn.c b/src/msc_conn.c index 3d0d93f..6e996d9 100644 --- a/src/msc_conn.c +++ b/src/msc_conn.c @@ -207,7 +207,7 @@ static int ipaccess_a_fd_cb(struct bsc_fd *bfd) LOGP(DMSC, LOGL_NOTICE, "Filtering reset ack from the MSC\n"); } else if (rc == BSS_FILTER_RLSD) { LOGP(DMSC, LOGL_DEBUG, "Filtering RLSD from the MSC\n"); - update_con_state(rc, &result, msg, 1, 0); + update_con_state(NULL, rc, &result, msg, 1, 0); } else if (rc == BSS_FILTER_RLC) { /* if we receive this we have forwarded a RLSD to the network */ LOGP(DMSC, LOGL_ERROR, "RLC from the network. BAD!\n"); @@ -216,7 +216,7 @@ static int ipaccess_a_fd_cb(struct bsc_fd *bfd) } else if (link->sccp_up) { unsigned int sls; - update_con_state(rc, &result, msg, 1, 0); + update_con_state(NULL, rc, &result, msg, 1, 0); sls = sls_for_src_ref(result.destination_local_reference); /* Check for Location Update Accept */ -- cgit v1.2.3