diff options
author | Guillaume Knispel <gknispel@proformatique.com> | 2010-11-04 20:20:06 +0100 |
---|---|---|
committer | Guillaume Knispel <gknispel@proformatique.com> | 2010-11-04 20:20:06 +0100 |
commit | d8f22633a1b48a6c9e1f17b18e17119c47cf758b (patch) | |
tree | feeb5825aca1055c0e4810fc595b0f82257b74b6 /tdm | |
parent | c703e1f0aeb0e4e4635e9871655d8839ae6e6fa0 (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.c | 2 |
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); |