diff options
author | Harald Welte <laforge@gnumonks.org> | 2009-12-14 09:00:24 +0100 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2009-12-14 09:00:24 +0100 |
commit | 648b6ce083e3826b5df912de61214961f4950321 (patch) | |
tree | ec44fd56bf84a4130b0a34251a9e35fc558d8534 /openbsc/src/gsm_04_08.c | |
parent | 37600be76cb022dbd51d768500613d9a8066990f (diff) |
Add VTY setting for whether or not to sending MM INFO
Diffstat (limited to 'openbsc/src/gsm_04_08.c')
-rw-r--r-- | openbsc/src/gsm_04_08.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/openbsc/src/gsm_04_08.c b/openbsc/src/gsm_04_08.c index ce93f0130..9e01d9c70 100644 --- a/openbsc/src/gsm_04_08.c +++ b/openbsc/src/gsm_04_08.c @@ -299,8 +299,10 @@ static int gsm0408_authorize(struct gsm_lchan *lchan, struct msgb *msg) db_subscriber_alloc_tmsi(lchan->subscr); release_loc_updating_req(lchan); rc = gsm0408_loc_upd_acc(msg->lchan, lchan->subscr->tmsi); - /* send MM INFO with network name */ - rc = gsm48_tx_mm_info(msg->lchan); + if (lchan->ts->trx->bts->network->send_mm_info) { + /* send MM INFO with network name */ + rc = gsm48_tx_mm_info(msg->lchan); + } /* call subscr_update after putting the loc_upd_acc * in the transmit queue, since S_SUBSCR_ATTACHED might |