[zaptel-commits] jdixon: branch 1.4 r4191 - /branches/1.4/kernel/pciradio.c
SVN commits to the Zaptel project
zaptel-commits at lists.digium.com
Tue Apr 22 23:36:23 CDT 2008
Author: jdixon
Date: Tue Apr 22 23:36:22 2008
New Revision: 4191
URL: http://svn.digium.com/view/zaptel?view=rev&rev=4191
Log:
Updated to latest code, fixed bug in serial i/o
Modified:
branches/1.4/kernel/pciradio.c
Modified: branches/1.4/kernel/pciradio.c
URL: http://svn.digium.com/view/zaptel/branches/1.4/kernel/pciradio.c?view=diff&rev=4191&r1=4190&r2=4191
==============================================================================
--- branches/1.4/kernel/pciradio.c (original)
+++ branches/1.4/kernel/pciradio.c Tue Apr 22 23:36:22 2008
@@ -1355,8 +1355,9 @@
stack.p.index = rad->rxindex;
break;
}
- /* wait for done only if in SERIAL_ASCII mode */
- if (rad->remmode[chan->chanpos - 1] == ZT_RADPAR_REM_SERIAL_ASCII)
+ /* wait for done if in SERIAL_ASCII mode, or if no Rx aftwards */
+ if ((rad->remmode[chan->chanpos - 1] == ZT_RADPAR_REM_SERIAL_ASCII) ||
+ (!stack.p.data))
{
/* wait for TX to be done if not already */
while(rad->txlen && (rad->txindex < rad->txlen))
More information about the zaptel-commits
mailing list