mISDN: Fix TEI and SAPI handling
authorAndreas Eversberg <andreas@eversberg.eu>
Mon, 25 May 2009 07:50:02 +0000 (00:50 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 25 May 2009 07:51:35 +0000 (00:51 -0700)
commit5b277b8605f4c8fbd13302df33ab4570f844c1ff
treed8613c050f53bb694c1d59e2ee5f82b0564ad7b6
parentbc138ec4ac58bb83e2d9d5c12328d5452294c1f0
mISDN: Fix TEI and SAPI handling

Added SAPI value to use SAPIs different than 0.

Now fixed TEIs work in NT mode. This allows PTP endpoint to be connected
to PTMP ports together with other PTMP endpoints.

New enhanced version, thanks to Sam Ravnborg <sam@ravnborg.org> for the
hints.

Signed-off-by: Andreas Eversberg <andreas@eversberg.eu>
Signed-off-by: Karsten Keil <keil@b1-systems.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/isdn/mISDN/layer2.c
drivers/isdn/mISDN/layer2.h
drivers/isdn/mISDN/tei.c