gprs_ms: Use osmo_timer_setup() API
Change-Id: I261f4dcee15942bdce82c6b8a8a558a38bedd6fe
This commit is contained in:
parent
0bdad9f388
commit
c7802d9fc1
|
@ -111,8 +111,7 @@ struct GprsMs *ms_alloc(struct gprs_rlcmac_bts *bts, uint32_t tlli)
|
||||||
LOGP(DRLCMAC, LOGL_INFO, "Creating MS object, TLLI = 0x%08x\n", tlli);
|
LOGP(DRLCMAC, LOGL_INFO, "Creating MS object, TLLI = 0x%08x\n", tlli);
|
||||||
|
|
||||||
ms->imsi[0] = '\0';
|
ms->imsi[0] = '\0';
|
||||||
memset(&ms->timer, 0, sizeof(ms->timer));
|
osmo_timer_setup(&ms->timer, ms_release_timer_cb, NULL);
|
||||||
ms->timer.cb = ms_release_timer_cb;
|
|
||||||
llc_queue_init(&ms->llc_queue, ms);
|
llc_queue_init(&ms->llc_queue, ms);
|
||||||
|
|
||||||
ms_set_mode(ms, GPRS);
|
ms_set_mode(ms, GPRS);
|
||||||
|
|
Loading…
Reference in New Issue