summaryrefslogtreecommitdiff
path: root/xpp/mpptalk_defs.h
diff options
context:
space:
mode:
authorTzafrir Cohen <tzafrir.cohen@xorcom.com>2012-02-22 20:23:16 +0000
committerTzafrir Cohen <tzafrir.cohen@xorcom.com>2012-02-22 20:23:16 +0000
commitdf38c2402d01bf9f4664b4098e4c88a94c157be7 (patch)
tree0b7efc83f0df68470b6617a81b3e20b527567b89 /xpp/mpptalk_defs.h
parentaf37e096dcce343f5ab7307bdb50ebe39bf52e2a (diff)
xpp: improved waitfor_xpds
* Fix an issue due to long firmware load time: - When one Astribank has an echo canceler (long firmware loading) and and another one does not. - The EC-less Astribank finishes initialization before the Astribank with EC is detected. - Thus waitfor_xpds terminates too early. * We now iteratively build two sets of serial numbers: - One from wha we see in all Xorcom (e4e4:11[3456]x) USB devices. - The other is those that were detected in the driver. - Only when the two sets are equal (and > 0) we know we are done. - This is resilient to many problems (e.g: disconnect/reconnect of same device during initialization). * The progress output was also improved: Now each detected AB show the total number so far. * The timeout was also increased to 100sec * Woraround for an Astribank with no serial (but just a single one on the system). Signed-off-by: Oron Peled <oron.peled@xorcom.com> Acked-by: Tzafrir Cohen <tzafrir.cohen@xorcom.com> Origin: http://svnview.digium.com/svn/dahdi?view=rev&rev=10465 git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/branches/2.5@10467 a0bf4364-ded3-4de4-8d8a-66a801d63aff
Diffstat (limited to 'xpp/mpptalk_defs.h')
0 files changed, 0 insertions, 0 deletions