projects
/
osmocom-bb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
733c894
)
fw/layer1: Fix reset of dedicated channel state
author
Sylvain Munaut
<tnt@246tNt.com>
Sun, 28 Nov 2010 13:40:08 +0000
(14:40 +0100)
committer
Sylvain Munaut
<tnt@246tNt.com>
Sun, 28 Nov 2010 13:40:08 +0000
(14:40 +0100)
Thanks to Alex Badea <vamposdecampos@gmail.com> for pointing
this out.
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
src/target/firmware/layer1/sync.c
patch
|
blob
|
history
diff --git
a/src/target/firmware/layer1/sync.c
b/src/target/firmware/layer1/sync.c
index
44958f7
..
3397dc0
100644
(file)
--- a/
src/target/firmware/layer1/sync.c
+++ b/
src/target/firmware/layer1/sync.c
@@
-365,6
+365,9
@@
void l1s_reset(void)
l1s.fb.mode = 0;
l1s.tx_power = 7; /* initial power reset */
+ /* Leave dedicated mode */
+ l1s.dedicated.type = GSM_DCHAN_NONE;
+
/* reset scheduler and hardware */
sched_gsmtime_reset();
mframe_reset();