aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2010-10-06 16:09:25 +0800
committerHolger Hans Peter Freyther <zecke@selfish.org>2010-10-06 16:09:25 +0800
commit52280693657631037bf2e628853f6eaf379a314d (patch)
treee91be551bd2b7cc011a2d697a221691b88dbd6db
parentdfcf2df69869bd026fa4adcf6672db5a2196e9a8 (diff)
ussd: Pass the bsc_data to have access to the USSD message
-rw-r--r--include/bsc_ussd.h2
-rw-r--r--src/bsc_ussd.c2
-rw-r--r--src/msc_conn.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/include/bsc_ussd.h b/include/bsc_ussd.h
index 5484efa..190f035 100644
--- a/include/bsc_ussd.h
+++ b/include/bsc_ussd.h
@@ -24,6 +24,6 @@
int bsc_ussd_handle_out_msg(struct bsc_data *bsc, struct sccp_parse_result *result, struct msgb *msg);
-int bsc_ussd_handle_in_msg(struct mtp_link *link, struct sccp_parse_result *res, struct msgb *msg);
+int bsc_ussd_handle_in_msg(struct bsc_data *bsc, struct sccp_parse_result *res, struct msgb *msg);
#endif
diff --git a/src/bsc_ussd.c b/src/bsc_ussd.c
index e0989b9..baf13d0 100644
--- a/src/bsc_ussd.c
+++ b/src/bsc_ussd.c
@@ -41,7 +41,7 @@ int bsc_ussd_handle_out_msg(struct bsc_data *bsc, struct sccp_parse_result *resu
/*
* Check the message if it contains a location update request...
*/
-int bsc_ussd_handle_in_msg(struct mtp_link *link, struct sccp_parse_result *res,
+int bsc_ussd_handle_in_msg(struct bsc_data *bsc, struct sccp_parse_result *res,
struct msgb *msg)
{
return 0;
diff --git a/src/msc_conn.c b/src/msc_conn.c
index 2dfc7e7..3d0d93f 100644
--- a/src/msc_conn.c
+++ b/src/msc_conn.c
@@ -220,7 +220,7 @@ static int ipaccess_a_fd_cb(struct bsc_fd *bfd)
sls = sls_for_src_ref(result.destination_local_reference);
/* Check for Location Update Accept */
- bsc_ussd_handle_in_msg(link, &result, msg);
+ bsc_ussd_handle_in_msg(bsc, &result, msg);
/* patch a possible PC */
bss_rewrite_header_to_bsc(msg, link->opc, link->dpc);