summaryrefslogtreecommitdiff
path: root/tdm
diff options
context:
space:
mode:
authorGuillaume Knispel <gknispel@proformatique.com>2010-11-04 20:20:06 +0100
committerGuillaume Knispel <gknispel@proformatique.com>2010-11-04 20:20:06 +0100
commitd8f22633a1b48a6c9e1f17b18e17119c47cf758b (patch)
treefeeb5825aca1055c0e4810fc595b0f82257b74b6 /tdm
parentc703e1f0aeb0e4e4635e9871655d8839ae6e6fa0 (diff)
only call the port0_started callback if it's really the port0 that has been started
Diffstat (limited to 'tdm')
-rw-r--r--tdm/xivo_tdm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tdm/xivo_tdm.c b/tdm/xivo_tdm.c
index 067dcbf..683c05d 100644
--- a/tdm/xivo_tdm.c
+++ b/tdm/xivo_tdm.c
@@ -585,7 +585,7 @@ int xivo_tdm_start_chans(
printk(KERN_INFO "%s: DONE\n", __func__);
- if (xivo_tdm_callbacks.port0_started)
+ if (xtp->port_num == 0 && xivo_tdm_callbacks.port0_started)
xivo_tdm_callbacks.port0_started(
xivo_tdm_callbacks.port0_started_data);