TBF-DL: fix misleading idle time check
The dl_tbf_idle_msec is uint32_t so it cannot be < 0. Change-Id: Ic88cb4698bcb9be52a5179529f81b8728bf4f93f
This commit is contained in:
parent
25a3ca4e59
commit
1a11d1db09
|
@ -1252,7 +1252,7 @@ bool gprs_rlcmac_dl_tbf::keep_open(unsigned fn) const
|
|||
{
|
||||
int keep_time_frames;
|
||||
|
||||
if (bts_data()->dl_tbf_idle_msec <= 0)
|
||||
if (bts_data()->dl_tbf_idle_msec == 0)
|
||||
return false;
|
||||
|
||||
keep_time_frames = msecs_to_frames(bts_data()->dl_tbf_idle_msec);
|
||||
|
|
Loading…
Reference in New Issue