ms: Fix timer start condition (Coverity)

Currently the timer can be started even if m_ul_tbf is attached.

Replace m_dl_tbf by m_ul_tbf to only start the timer if _both_ TBF
are detached.

Fixes: Coverity CID 1304683
Sponsored-by: On-Waves ehf
This commit is contained in:
Jacob Erlbeck 2015-06-11 13:02:29 +02:00
parent 25db7c6116
commit 0808f68601
1 changed files with 1 additions and 1 deletions

View File

@ -239,7 +239,7 @@ void GprsMs::detach_tbf(gprs_rlcmac_tbf *tbf)
if (tbf->ms() == this)
tbf->set_ms(NULL);
if (!m_dl_tbf && !m_dl_tbf)
if (!m_dl_tbf && !m_ul_tbf)
start_timer();
update_status();