Update of /usr/cvsroot/zaptel
In directory mongoose.digium.com:/tmp/cvs-serv24459

Modified Files:
        pciradio.c 
Log Message:
Allowed for no rx response after transmit of serial data


Index: pciradio.c
===================================================================
RCS file: /usr/cvsroot/zaptel/pciradio.c,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -d -r1.13 -r1.14
--- pciradio.c  11 Aug 2005 03:19:46 -0000      1.13
+++ pciradio.c  11 Aug 2005 03:56:07 -0000      1.14
@@ -1254,10 +1254,10 @@
                        rad->srxtimer = 0;
                        memset(stack.p.buf,0,SERIAL_BUFLEN);
                        stack.p.index = 0;
-                       for(;;)
+                       if (stack.p.data) for(;;)
                        {                       
                                rad->rxbuf[rad->rxindex] = 0;
-                               if (((!stack.p.data) || (rad->rxindex < 
stack.p.data)) &&
+                               if ((rad->rxindex < stack.p.data) &&
                                  (rad->srxtimer < SRX_TIMEOUT) &&
                                    ((rad->remmode[chan->chanpos - 1] == 
ZT_RADPAR_REM_SERIAL) ||
                                        (!strchr(rad->rxbuf,'\r'))))

_______________________________________________
Asterisk-Cvs mailing list
[email protected]
http://lists.digium.com/mailman/listinfo/asterisk-cvs

Reply via email to