Fix as per psutton review of pull request #147

This commit is contained in:
Ismael Gomez 2018-02-03 11:05:42 +01:00
parent ecefbefca7
commit 8f2db5feb8
1 changed files with 1 additions and 1 deletions

View File

@ -315,7 +315,7 @@ int rlc_am::read_pdu(uint8_t *payload, uint32_t nof_bytes)
// RETX if required
if(retx_queue.size() > 0) {
int ret = build_retx_pdu(payload, nof_bytes);
if (ret) {
if (ret > 0) {s
pthread_mutex_unlock(&mutex);
return ret;
}