cosmetic: log: CC state transition: log trans id and subscr

Change-Id: I11c5213b90de27dc2606f73c686f263008b6522f
This commit is contained in:
Neels Hofmeyr 2017-11-22 01:57:00 +01:00
parent 0442ea22b8
commit fef670b76d
1 changed files with 5 additions and 3 deletions

View File

@ -1213,9 +1213,11 @@ static void new_cc_state(struct gsm_trans *trans, int state)
if (state > 31 || state < 0)
return;
DEBUGP(DCC, "new state %s -> %s\n",
gsm48_cc_state_name(trans->cc.state),
gsm48_cc_state_name(state));
DEBUGP(DCC, "(ti %02x sub %s) new state %s -> %s\n",
trans->transaction_id,
vlr_subscr_name(trans->vsub),
gsm48_cc_state_name(trans->cc.state),
gsm48_cc_state_name(state));
count_statistics(trans, state);
trans->cc.state = state;