[debug] Move subscr_get_by_tmsi below the debug statement (Andreas Eversberg)

subscr_get_by_tmsi might log as well and then the order of
debugging it not as clear as it could be.
This commit is contained in:
Holger Freyther 2009-06-04 13:58:42 +00:00
parent 2e99605b7e
commit eb443983ae
1 changed files with 2 additions and 1 deletions

View File

@ -797,10 +797,11 @@ static int gsm48_rx_mm_serv_req(struct msgb *msg)
}
mi_to_string(mi_string, sizeof(mi_string), mi, mi_len);
subscr = subscr_get_by_tmsi(mi_string);
DEBUGPC(DMM, "serv_type=0x%02x mi_type=0x%02x M(%s)\n",
req->cm_service_type, mi_type, mi_string);
subscr = subscr_get_by_tmsi(mi_string);
/* FIXME: if we don't know the TMSI, inquire abit IMSI and allocate new TMSI */
if (!subscr)
return gsm48_tx_mm_serv_rej(msg->lchan,