[dahdi-commits] sruffell: linux/trunk r5030 - /linux/trunk/drivers/dahdi/wctc4xxp/base.c
SVN commits to the DAHDI project
dahdi-commits at lists.digium.com
Thu Oct 2 16:14:39 CDT 2008
Author: sruffell
Date: Thu Oct 2 16:14:39 2008
New Revision: 5030
URL: http://svn.digium.com/view/dahdi?view=rev&rev=5030
Log:
Keep hold of the channel lock when setting the data_ready flag for the channel
after writing to the receive queue. Prevents a warning that data was on the
recieve queue but the data ready flag was not set.
Issue: DAHDI-42
Modified:
linux/trunk/drivers/dahdi/wctc4xxp/base.c
Modified: linux/trunk/drivers/dahdi/wctc4xxp/base.c
URL: http://svn.digium.com/view/dahdi/linux/trunk/drivers/dahdi/wctc4xxp/base.c?view=diff&rev=5030&r1=5029&r2=5030
==============================================================================
--- linux/trunk/drivers/dahdi/wctc4xxp/base.c (original)
+++ linux/trunk/drivers/dahdi/wctc4xxp/base.c Thu Oct 2 16:14:39 2008
@@ -1940,8 +1940,8 @@
cpvt = dtc->pvt;
spin_lock_bh(&cpvt->lock);
list_add_tail(&cmd->node, &cpvt->rx_queue);
+ dahdi_tc_set_data_waiting(dtc);
spin_unlock_bh(&cpvt->lock);
- dahdi_tc_set_data_waiting(dtc);
dahdi_transcoder_alert(dtc);
return;
}
More information about the dahdi-commits
mailing list