diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2011-07-16 09:33:35 +0200 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2011-07-16 09:33:35 +0200 |
commit | 58a1b814258886b5be19977c290fb8f6e0078e34 (patch) | |
tree | 842027a8948fdc563b482a7a8f87786ff6174e9a /src/host/layer23/src/common | |
parent | d6663ad996261ef8602c3588112802d2ec80ca3d (diff) |
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
Diffstat (limited to 'src/host/layer23/src/common')
-rw-r--r-- | src/host/layer23/src/common/main.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/host/layer23/src/common/main.c b/src/host/layer23/src/common/main.c index 7b6c74ff..666e94ab 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) |