summaryrefslogtreecommitdiff
path: root/xpp/mpp.h
diff options
context:
space:
mode:
authorTzafrir Cohen <tzafrir.cohen@xorcom.com>2012-02-22 18:13:02 +0000
committerTzafrir Cohen <tzafrir.cohen@xorcom.com>2012-02-22 18:13:02 +0000
commit877eb9940c0217e025cf9d72b8e33502ad3c49d4 (patch)
tree8c8cdbeeb725688af8b707e5e71ed3b547962508 /xpp/mpp.h
parent4b45bea77154133fb81d235e64bee86d61254129 (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> git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@10465 a0bf4364-ded3-4de4-8d8a-66a801d63aff
Diffstat (limited to 'xpp/mpp.h')
0 files changed, 0 insertions, 0 deletions