commit | 51bd066c442ba57380911a487bc2999080ebbd59 | [log] [tgz] |
---|---|---|
author | Harald Welte <laforge@netfilter.org> | Tue Dec 29 11:17:18 2009 +0100 |
committer | Harald Welte <laforge@netfilter.org> | Fri Jan 01 10:59:19 2010 +0100 |
tree | be943b24ea38bbd4d6382b6651e6c95e0d373c2d | |
parent | 677bb2fc3f31a66dc35988bf3476e1f66d6587cf [diff] [blame] |
keep 'silent call' state in struct lchan This enables us to reliably detect if a lchan is part of a silent call or not.
diff --git a/openbsc/src/chan_alloc.c b/openbsc/src/chan_alloc.c index 8141e47..48f87f2 100644 --- a/openbsc/src/chan_alloc.c +++ b/openbsc/src/chan_alloc.c
@@ -302,6 +302,8 @@ for (i = 0; i < ARRAY_SIZE(lchan->neigh_meas); i++) lchan->neigh_meas[i].arfcn = 0; + lchan->silent_call = 0; + /* FIXME: ts_free() the timeslot, if we're the last logical * channel using it */ }