diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-06-16 13:52:55 +0800 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-06-16 15:42:40 +0800 |
commit | 9ce1b27fbfde5cd7248af3e6ccecbd339b098d1f (patch) | |
tree | a0ebcad249aac290ee6898f8d15fa4fbcbd67472 /openbsc/src/gsm_04_08.c | |
parent | b2be195b501d8327a493f93bc9fba41f8a699ba4 (diff) |
bsc_api: Use gsm_subscriber_connection in rrlp.c
Diffstat (limited to 'openbsc/src/gsm_04_08.c')
-rw-r--r-- | openbsc/src/gsm_04_08.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/openbsc/src/gsm_04_08.c b/openbsc/src/gsm_04_08.c index 0de10cc76..f6a44e0a4 100644 --- a/openbsc/src/gsm_04_08.c +++ b/openbsc/src/gsm_04_08.c @@ -1213,13 +1213,13 @@ static int gsm0408_rcv_rr(struct msgb *msg) return rc; } -int gsm48_send_rr_app_info(struct gsm_lchan *lchan, u_int8_t apdu_id, +int gsm48_send_rr_app_info(struct gsm_subscriber_connection *conn, u_int8_t apdu_id, u_int8_t apdu_len, const u_int8_t *apdu) { struct msgb *msg = gsm48_msgb_alloc(); struct gsm48_hdr *gh; - msg->lchan = lchan; + msg->lchan = conn->lchan; DEBUGP(DRR, "TX APPLICATION INFO id=0x%02x, len=%u\n", apdu_id, apdu_len); @@ -1231,7 +1231,7 @@ int gsm48_send_rr_app_info(struct gsm_lchan *lchan, u_int8_t apdu_id, gh->data[1] = apdu_len; memcpy(gh->data+2, apdu, apdu_len); - return gsm48_conn_sendmsg(msg, &lchan->conn, NULL); + return gsm48_conn_sendmsg(msg, conn, NULL); } /* Call Control */ |