summaryrefslogtreecommitdiff
path: root/drivers/dahdi/dahdi_dynamic.c
diff options
context:
space:
mode:
authorShaun Ruffell <sruffell@digium.com>2011-01-03 18:25:51 +0000
committerShaun Ruffell <sruffell@digium.com>2011-01-03 18:25:51 +0000
commitd7d5fbd8c1f1b2bf8361e23d07708fb96079b353 (patch)
treec131217804322d4a1a5ae5c88f240a873b82ab1f /drivers/dahdi/dahdi_dynamic.c
parentb300aa6c7fa62187e0147471c9086dce2d041d57 (diff)
dahdi_dynamic: Do not enable tasklets by default for dynamic_spans.
Running in tasklets does not work well when dahdi doesn't have a span that is acting as the master. In this case, process_masterspan is being called in system timer that may not be running at 1ms intervals. The end result is that the dynamic_run function isn't called for every chunk processed, and there is data loss. Signed-off-by: Shaun Ruffell <sruffell@digium.com> Acked-by: Kinsey Moore <kmoore@digium.com> git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@9577 a0bf4364-ded3-4de4-8d8a-66a801d63aff
Diffstat (limited to 'drivers/dahdi/dahdi_dynamic.c')
-rw-r--r--drivers/dahdi/dahdi_dynamic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/dahdi/dahdi_dynamic.c b/drivers/dahdi/dahdi_dynamic.c
index 7ab765b..879ce3a 100644
--- a/drivers/dahdi/dahdi_dynamic.c
+++ b/drivers/dahdi/dahdi_dynamic.c
@@ -47,7 +47,7 @@
* tasklets.
*/
-#define ENABLE_TASKLETS
+#undef ENABLE_TASKLETS
/*
* Dynamic spans implemented using TDM over X with standard message