9
0
Fork 0

ussd: Pass the bsc_data to have access to the USSD message

This commit is contained in:
Holger Hans Peter Freyther 2010-10-06 16:09:25 +08:00
parent dfcf2df698
commit 5228069365
3 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -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;

View File

@ -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);