Hi,
But actually, where did you find this? libosmocore.git only has the "return -EIO" in src/gsm/lapdm.c
I think it is an issue found by smatch, maybe the copy in osmocomBB was not updated yet.
It was.
But there is both in the osmocom-bb tree:
src/shared/libosmocore/src/gsm/lapdm.c src/host/layer23/src/common/lapdm.c
The latter has the problem.
Cheers,
Sylvain