diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-06-21 10:46:44 +0800 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-06-21 16:40:09 +0800 |
commit | db4ef0d3699bb289e2cb333b5fa822ce279a4841 (patch) | |
tree | 7a4dbdaea688f244c37393760e964bb56cdc64b3 /openbsc/src/gsm_04_08.c | |
parent | 758f4dfa17f57ff4f1be98b47f5282471d83f592 (diff) |
bsc_api: Remove the lchan usage from the Paging Response handling.
Diffstat (limited to 'openbsc/src/gsm_04_08.c')
-rw-r--r-- | openbsc/src/gsm_04_08.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/openbsc/src/gsm_04_08.c b/openbsc/src/gsm_04_08.c index 520eed0b5..e8070522d 100644 --- a/openbsc/src/gsm_04_08.c +++ b/openbsc/src/gsm_04_08.c @@ -971,9 +971,9 @@ static int gsm0408_rcv_mm(struct gsm_subscriber_connection *conn, struct msgb *m } /* Receive a PAGING RESPONSE message from the MS */ -static int gsm48_rx_rr_pag_resp(struct msgb *msg) +static int gsm48_rx_rr_pag_resp(struct gsm_subscriber_connection *conn, struct msgb *msg) { - struct gsm_bts *bts = msg->lchan->ts->trx->bts; + struct gsm_bts *bts = conn->bts; struct gsm48_hdr *gh = msgb_l3(msg); struct gsm48_pag_resp *resp; u_int8_t *classmark2_lv = gh->data + 1; @@ -1010,7 +1010,7 @@ static int gsm48_rx_rr_pag_resp(struct msgb *msg) memcpy(subscr->equipment.classmark2, classmark2_lv+1, *classmark2_lv); db_sync_equipment(&subscr->equipment); - rc = gsm48_handle_paging_resp(msg, subscr); + rc = gsm48_handle_paging_resp(conn, msg, subscr); return rc; } @@ -1172,7 +1172,7 @@ static int gsm0408_rcv_rr(struct gsm_subscriber_connection *conn, struct msgb *m DEBUGP(DRR, "GRPS SUSPEND REQUEST\n"); break; case GSM48_MT_RR_PAG_RESP: - rc = gsm48_rx_rr_pag_resp(msg); + rc = gsm48_rx_rr_pag_resp(conn, msg); break; case GSM48_MT_RR_CHAN_MODE_MODIF_ACK: rc = gsm48_rx_rr_modif_ack(msg); |