[asterisk-users] [Bristuff-users] bristuff - qozap dirver bug (and fix?)

Michiel van Baak michiel at vanbaak.info
Mon Aug 13 07:54:27 CDT 2007


On 13:50, Mon 13 Aug 07, Steve Davies wrote:
> Hi,
> --- qozap/qozap.c~      2007-08-13 13:25:38.000000000 +0100
> +++ qozap/qozap.c       2007-08-13 13:10:18.000000000 +0100
> @@ -827,7 +827,7 @@
>                 if (qoztmp->spans[s].alarms != ZT_ALARM_RED) {
>                     qoz_dfifo_tx(qoztmp, s);
>                 } else {
> -                   if ((qoztmp->st[s].t3 == -1) && (qoztmp->st[s].t4
> == -1) && (qoztmp->st[s].layer1state == 3) && (qoztmp->st[s].nt_mode
> != 1)) {
> +                   if ((qoztmp->st[s].t3 > -1) && (qoztmp->st[s].t4
> == -1) && (qoztmp->st[s].layer1state == 3) && (qoztmp->st[s].nt_mode
> != 1)) {
>                         /* clear alarms */
>                         if (debug > 2)
>                             printk(KERN_INFO "qozap: clearing alarms
> on span %d\n",s);

Looks sane to me.
-- 

Michiel van Baak
michiel at vanbaak.eu
http://michiel.vanbaak.eu
GnuPG key: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x71C946BD

"Why is it drug addicts and computer afficionados are both called users?"




More information about the asterisk-users mailing list