diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-06-17 15:05:57 +0800 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-06-17 15:05:57 +0800 |
commit | 86481c29d4cc9bed3010db466be6e0757458b031 (patch) | |
tree | a8b74f246eece8021115bce1b8c4f21bd97d5a2b /openbsc/src/gsm_04_08_utils.c | |
parent | 7b4a53d537a1d6cb6bfff2c65e3252c2a4ac0aa7 (diff) |
bsc_api: Make paging/silent call work with the subscriber_connection
Do not use the lchan for the paging but operate on the
subscriber_connection, change the signals too to not carry
the lchan but the subscriber connection... the silent call
and vty code still assume there is a lchan inside the
subscriber connection.
Diffstat (limited to 'openbsc/src/gsm_04_08_utils.c')
-rw-r--r-- | openbsc/src/gsm_04_08_utils.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/openbsc/src/gsm_04_08_utils.c b/openbsc/src/gsm_04_08_utils.c index 952d7248e..3776565eb 100644 --- a/openbsc/src/gsm_04_08_utils.c +++ b/openbsc/src/gsm_04_08_utils.c @@ -268,14 +268,14 @@ int gsm48_handle_paging_resp(struct msgb *msg, struct gsm_subscriber *subscr) sig_data.subscr = subscr; sig_data.bts = msg->lchan->ts->trx->bts; - sig_data.lchan = msg->lchan; + sig_data.conn = &msg->lchan->conn; counter_inc(bts->network->stats.paging.completed); dispatch_signal(SS_PAGING, S_PAGING_SUCCEEDED, &sig_data); /* Stop paging on the bts we received the paging response */ - paging_request_stop(msg->trx->bts, subscr, msg->lchan); + paging_request_stop(msg->trx->bts, subscr, &msg->lchan->conn); return 0; } |