forked from cellular-infrastructure/osmo-pcu
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:
parent
25db7c6116
commit
0808f68601
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue