returning twice in lapdm.c

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/baseband-devel@lists.osmocom.org/.

screaming-pain screaming-pain at libero.it
Tue Aug 2 12:24:00 UTC 2011


Dear all,

in the if starting at line 1591 in lapdm.c there are two return, maybe you
want to fix this

1591 if (!mctx.dl) {
		LOGP(DLAPDM, LOGL_NOTICE, "Received frame for unsupported "
			"SAPI %d!\n", sapi);
		return -EINVAL;
		msgb_free(msg);
		return -EIO;
1597	}

Regards,
Loretta

--
View this message in context: http://baseband-devel.722152.n3.nabble.com/returning-twice-in-lapdm-c-tp3218801p3218801.html
Sent from the baseband-devel mailing list archive at Nabble.com.




More information about the baseband-devel mailing list