laforge
/
openbts-osmo
Archived
1
0
Fork 0

This shoud not be committed.

When this code is  enabled transaction will be closed after about 15 seconds of inactivity. It is  too short for USSD and should be fixed later.
This commit is contained in:
Ivan Kluchnikov 2010-08-10 17:25:37 +04:00
parent 3889999846
commit d4da240011
1 changed files with 3 additions and 4 deletions

View File

@ -980,10 +980,9 @@ void L2LAPDm::sendIFrame(const BitVector& payload, bool MBit)
bool L2LAPDm::stuckChannel(const L2Frame& frame)
{
// Check for excessive idling.
//if (frame.DCCHIdle()) mIdleCount++;
//else mIdleCount=0;
//return mIdleCount > maxIdle();
return false;
if (frame.DCCHIdle()) mIdleCount++;
else mIdleCount=0;
return mIdleCount > maxIdle();
}