mirror of https://gerrit.osmocom.org/libosmocore
sms: Print 'network' or 'mobile' when creating the SMC/SMR
This commit is contained in:
parent
c1e9be95c2
commit
68f9447744
|
@ -83,7 +83,8 @@ void gsm411_smc_init(struct gsm411_smc_inst *inst, uint64_t id, int network,
|
|||
inst->mm_send = mm_send;
|
||||
|
||||
LOGP(DLSMS, LOGL_INFO,
|
||||
SMC_LOG_STR "instance created\n", inst->id);
|
||||
SMC_LOG_STR "instance created for %s\n",
|
||||
inst->id, inst->network ? "network" : "mobile");
|
||||
}
|
||||
|
||||
/* clear instance */
|
||||
|
|
|
@ -81,8 +81,8 @@ void gsm411_smr_init(struct gsm411_smr_inst *inst, uint64_t id, int network,
|
|||
inst->rp_timer.cb = rp_timer_expired;
|
||||
|
||||
LOGP(DLSMS, LOGL_INFO,
|
||||
SMR_LOG_STR "instance created for %d\n",
|
||||
inst->id, inst->network);
|
||||
SMR_LOG_STR "instance created for %s.\n",
|
||||
inst->id, inst->network ? "network" : "mobile");
|
||||
}
|
||||
|
||||
/* clear instance */
|
||||
|
|
Loading…
Reference in New Issue