trxcon: Respect the tch_mode field of DM_EST_REQ
commit9d90d1907b9d1013a07ef7a9c187f16bc29129fb
authorHarald Welte <laforge@gnumonks.org>
Mon, 2 Apr 2018 17:57:55 +0000 (2 19:57 +0200)
committerHarald Welte <laforge@gnumonks.org>
Mon, 2 Apr 2018 17:57:55 +0000 (2 19:57 +0200)
tree26ab4e3147b39e1c5dc3900eee9b8a8c48b982a6
parent96a8f288c66dee920f5705dd976f13593fc29104
trxcon: Respect the tch_mode field of DM_EST_REQ

the initial tch_mode is not always 0 (signalling) but can very well
be directly a codec mode, if the initial activation of the channel
is in speech mode as opposed to signalling

Change-Id: I96e4c89da1165e9c5287d863e0e65d811460c606
src/host/trxcon/l1ctl.c
src/host/trxcon/sched_trx.c
src/host/trxcon/sched_trx.h