Attention is currently required from: dexter.

dexter uploaded patch set #2 to this change.

View Change

e1d: fix logic to detect if a timeslot is in use

When we check bfd->fd, we also treat 0 as "not in use". This is not
correct since 0 is a valid file descriptor (STDIN). Since we reliably
initialize the file descriptor numbers to -1 on startup we can fix this.
So let's treat all positive file descriptor numbers, including zero as
an open timeslot.

Change-Id: I67bc5ca25620ff96441391798f761144570c8306
Related: OS#5983
---
M src/input/e1d.c
1 file changed, 23 insertions(+), 7 deletions(-)

git pull ssh://gerrit.osmocom.org:29418/libosmo-abis refs/changes/02/32402/2

To view, visit change 32402. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: libosmo-abis
Gerrit-Branch: master
Gerrit-Change-Id: I67bc5ca25620ff96441391798f761144570c8306
Gerrit-Change-Number: 32402
Gerrit-PatchSet: 2
Gerrit-Owner: dexter <pmaier@sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: pespin <pespin@sysmocom.de>
Gerrit-Attention: dexter <pmaier@sysmocom.de>
Gerrit-MessageType: newpatchset