From 58a1b814258886b5be19977c290fb8f6e0078e34 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Sat, 16 Jul 2011 09:33:35 +0200 Subject: [PATCH] misc: Fix crash in cell_log due missing l1_prim_cb Commit 3538c38835b9120d7cf062fa533f7657768bf0d3 introduced the l1_prim_cb but the init of the misc apps were not updated, make it us the generic callback that should restore the previous behavior --- src/host/layer23/src/common/main.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/host/layer23/src/common/main.c b/src/host/layer23/src/common/main.c index 7b6c74f..666e94a 100644 --- a/src/host/layer23/src/common/main.c +++ b/src/host/layer23/src/common/main.c @@ -259,6 +259,7 @@ int main(int argc, char **argv) ms->lapdm_channel.lapdm_acch.l1_ctx = ms; ms->lapdm_channel.lapdm_acch.l3_ctx = ms; lapdm_channel_init(&ms->lapdm_channel, LAPDM_MODE_MS); + lapdm_channel_set_l1(&ms->lapdm_channel, l1ctl_ph_prim_cb, ms); rc = l23_app_init(ms); if (rc < 0) -- 2.20.1