summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSylvain Munaut <tnt@246tNt.com>2010-12-27 16:07:30 +0100
committerSylvain Munaut <tnt@246tNt.com>2010-12-27 16:07:30 +0100
commit45890fe657059c31faff1cae7e1738ebeafb6c2e (patch)
tree053e6fae9e0765509b6476d0d9d40d4bd2f17913
parentb09aaa1e6d3b75d9eeb65a32dc141ca2b0be6022 (diff)
fw/layer1: Resync TCH primitive on mode changes
This is needed for audio to work properly in VEA mode Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
-rw-r--r--src/target/firmware/layer1/l23_api.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/target/firmware/layer1/l23_api.c b/src/target/firmware/layer1/l23_api.c
index 19838f15..aef12a59 100644
--- a/src/target/firmware/layer1/l23_api.c
+++ b/src/target/firmware/layer1/l23_api.c
@@ -457,6 +457,8 @@ static void l1ctl_rx_tch_mode_req(struct msgb *msg)
audio_set_enabled(tch_mode != GSM48_CMODE_SIGN);
+ l1s.tch_sync = 1; /* Needed for audio to work */
+
l1ctl_tx_tch_mode_conf(tch_mode);
}