trxcon/scheduer: fix: properly check rc of gsm0503_pdtch_encode()
commit0ded4757be9ef704cb8213ca3460bf23dd46ce92
authorVadim Yanitskiy <axilirator@gmail.com>
Sun, 30 Jun 2019 10:30:08 +0000 (30 17:30 +0700)
committerVadim Yanitskiy <axilirator@gmail.com>
Sun, 30 Jun 2019 10:30:11 +0000 (30 17:30 +0700)
tree7e583da5662494c7879a11a3f4f66e0f5b31c7ff
parentc89047d8bc916ea2417b3867014c17f397b66737
trxcon/scheduer: fix: properly check rc of gsm0503_pdtch_encode()

The gsm0503_pdtch_encode() returns negative number on error,
and the amount of encoded bits in case of success.

Change-Id: I7d75141142922909330c5e86be8734bb06cd57a4
src/host/trxcon/sched_lchan_pdtch.c