[dahdi-commits] sruffell: linux/trunk r5350 -	/linux/trunk/drivers/dahdi/wcb4xxp/base.c
    SVN commits to the DAHDI project 
    dahdi-commits at lists.digium.com
       
    Thu Nov 20 10:03:50 CST 2008
    
    
  
Author: sruffell
Date: Thu Nov 20 10:03:50 2008
New Revision: 5350
URL: http://svn.digium.com/view/dahdi?view=rev&rev=5350
Log:
Force the FIFO to reset when the file handle is closed.
Patch provided by akohlsmith.
Issue: DAHDI-178
Modified:
    linux/trunk/drivers/dahdi/wcb4xxp/base.c
Modified: linux/trunk/drivers/dahdi/wcb4xxp/base.c
URL: http://svn.digium.com/view/dahdi/linux/trunk/drivers/dahdi/wcb4xxp/base.c?view=diff&rev=5350&r1=5349&r2=5350
==============================================================================
--- linux/trunk/drivers/dahdi/wcb4xxp/base.c (original)
+++ linux/trunk/drivers/dahdi/wcb4xxp/base.c Thu Nov 20 10:03:50 2008
@@ -2032,7 +2032,7 @@
 	if (DBG_FOPS)
 		dev_info(b4->dev, "close() on chan %s (%i/%i)\n", chan->name, chan->channo, chan->chanpos);
 
-	hfc_reset_fifo_pair(b4, bspan->fifos[chan->chanpos], 0, 1);
+	hfc_reset_fifo_pair(b4, bspan->fifos[chan->chanpos], 1, 1);
 	return 0;
 }
 
    
    
More information about the dahdi-commits
mailing list