gprs_ms: Use osmo_timer_setup() API
Change-Id: I261f4dcee15942bdce82c6b8a8a558a38bedd6fechanges/72/28072/1
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);
|
||||
|
||||
ms->imsi[0] = '\0';
|
||||
memset(&ms->timer, 0, sizeof(ms->timer));
|
||||
ms->timer.cb = ms_release_timer_cb;
|
||||
osmo_timer_setup(&ms->timer, ms_release_timer_cb, NULL);
|
||||
llc_queue_init(&ms->llc_queue, ms);
|
||||
|
||||
ms_set_mode(ms, GPRS);
|
||||
|
|
Loading…
Reference in New Issue