lkml.org 
[lkml]   [2001]   [Nov]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectISDN chargehup

Hi,

ISDN chargehup control is broken :

[root@fw /root]# isdnctrl chargehup ippp0
Charge-Hangup for ippp0 is on
[root@fw /root]# isdnctrl chargehup ippp0 off
Charge-Hangup for ippp0 is off
[root@fw /root]# isdnctrl chargehup ippp0
Charge-Hangup for ippp0 is on

With fix applied :

[root@fw /root]# isdnctrl chargehup ippp0
Charge-Hangup for ippp0 is on
[root@fw /root]# isdnctrl chargehup ippp0 off
Charge-Hangup for ippp0 is off
[root@fw /root]# isdnctrl chargehup ippp0
Charge-Hangup for ippp0 is off


Fix is attached.



Regards,


Igmar




--

Igmar Palsenberg
JDI Media Solutions

Boulevard Heuvelink 102
6828 KT Arnhem
The Netherlands

mailto: i.palsenberg@jdimedia.nl
PGP/GPG key : http://www.jdimedia.nl/formulier/pgp/igmar
--- linux-2.4.14/drivers/isdn/isdn_net.c.orig Thu Nov 15 15:21:49 2001
+++ linux-2.4.14/drivers/isdn/isdn_net.c Thu Nov 15 15:22:13 2001
@@ -2872,7 +2872,7 @@
else
lp->hupflags &= ~ISDN_INHUP;
if (cfg->chargeint > 10) {
- lp->hupflags |= ISDN_CHARGEHUP | ISDN_HAVECHARGE | ISDN_MANCHARGE;
+ lp->hupflags |= ISDN_HAVECHARGE | ISDN_MANCHARGE;
lp->chargeint = cfg->chargeint * HZ;
}
if (cfg->p_encap != lp->p_encap) {
\
 
 \ /
  Last update: 2005-03-22 13:13    [W:0.842 / U:0.004 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site