sba: Fix loop exit in SBAController::alloc (Coverity)

The commit 506f156f7a has reverted the
TS search order. The outer loop exit condition was not updated
accordingly. This bug would would only lead to an error if there were
multiple TRX where the first TRX has not got any PDCH assigned.

This commit corrects the break condition.

Fixes: Coverity CID 1311776
Sponsored-by: On-Waves ehf
This commit is contained in:
Jacob Erlbeck 2015-07-15 14:17:19 +02:00
parent 3db617f14a
commit 1139ec1d0f
1 changed files with 1 additions and 1 deletions

View File

@ -62,7 +62,7 @@ int SBAController::alloc(
continue;
break;
}
if (ts < 8)
if (ts >= 0)
break;
}
if (trx == 8) {