[svn-commits] rmudgett: mISDN/trunk r197 - /mISDN/trunk/drivers/isdn/hardware/mISDN/l3_udss1.c
SVN commits to the Digium repositories
svn-commits at lists.digium.com
Mon Nov 12 17:49:34 CST 2012
Author: rmudgett
Date: Mon Nov 12 17:49:30 2012
New Revision: 197
URL: http://svnview.digium.com/svn/thirdparty?view=rev&rev=197
Log:
mISDN TE kernel driver now releases CIS connection on RELEASE message.
* Made mISDN handle RELEASE in state U31 to release a Call Independent
Signaling connection created by a REGISTER message. The L3 proc can
now be get cleaned up properly.
* Added kernel warning message when the stack runs out of call reference
values to make it more likely that you will figure out why it did not
work.
(closes issue ABE-2892)
Reported by: Guenther Kelleter
Patches:
u31.diff (license #6372) patch uploaded by Guenther Kelleter
Modified
Modified:
mISDN/trunk/drivers/isdn/hardware/mISDN/l3_udss1.c
Modified: mISDN/trunk/drivers/isdn/hardware/mISDN/l3_udss1.c
URL: http://svnview.digium.com/svn/thirdparty/mISDN/trunk/drivers/isdn/hardware/mISDN/l3_udss1.c?view=diff&rev=197&r1=196&r2=197
==============================================================================
--- mISDN/trunk/drivers/isdn/hardware/mISDN/l3_udss1.c (original)
+++ mISDN/trunk/drivers/isdn/hardware/mISDN/l3_udss1.c Mon Nov 12 17:49:30 2012
@@ -2516,7 +2516,8 @@
{SBIT(0) | SBIT(1) | SBIT(2) | SBIT(3) | SBIT(4) | SBIT(7) | SBIT(8) | SBIT(10) |
SBIT(11) | SBIT(12) | SBIT(15) | SBIT(17) | SBIT(19) | SBIT(25) | SBIT(31),
MT_RELEASE_COMPLETE, l3dss1_release_cmpl},
- {SBIT(1) | SBIT(2) | SBIT(3) | SBIT(4) | SBIT(7) | SBIT(8) | SBIT(9) | SBIT(10) | SBIT(11) | SBIT(12) | SBIT(15) | SBIT(17) | SBIT(25),
+ {SBIT(1) | SBIT(2) | SBIT(3) | SBIT(4) | SBIT(7) | SBIT(8) | SBIT(9) | SBIT(10) |
+ SBIT(11) | SBIT(12) | SBIT(15) | SBIT(17) | SBIT(25) | SBIT(31),
MT_RELEASE, l3dss1_release},
{SBIT(19), MT_RELEASE, l3dss1_release_ind},
{SBIT(1) | SBIT(2) | SBIT(3) | SBIT(4) | SBIT(7) | SBIT(8) | SBIT(9) | SBIT(10) | SBIT(11) | SBIT(15) | SBIT(17) | SBIT(25),
@@ -2843,7 +2844,7 @@
proc = getl3proc4id(l3, hh->dinfo);
if ((CC_NEW_CR | REQUEST) == hh->prim) {
if (proc) {
- printk(KERN_WARNING "%s: proc(%x) allready exist\n",
+ printk(KERN_WARNING "%s: proc(%x) already exists\n",
__FUNCTION__, hh->dinfo);
ret = -EBUSY;
} else {
@@ -2855,6 +2856,8 @@
cr = newcallref(l3) | 0x8000;
if (cr == first_cr) {
/* All call ref values are in use! Use it anyway. */
+ printk(KERN_WARNING "%s: Out of call reference values!\n",
+ __FUNCTION__);
break;
}
}
More information about the svn-commits
mailing list