diff options
author | Tzafrir Cohen <tzafrir.cohen@xorcom.com> | 2012-03-15 21:19:34 +0000 |
---|---|---|
committer | Tzafrir Cohen <tzafrir.cohen@xorcom.com> | 2012-03-15 21:19:34 +0000 |
commit | a70b6fe0c87199b7fa0edad4da9d48b67ad8b967 (patch) | |
tree | 7523f3ff7c99384b1d2a2cb995e871a9ccddafe8 /xpp/astribank_allow.c | |
parent | 395aa87c41b3fba9eccf8c863f21c8426def2207 (diff) |
xpp: bugfix: handle echo_loader errors
* I/O errors of the device were not propagated up by echo_loader
* As a result, Octasic load failure did not prevented USB renumeration
* Make consistent return values:
- In our functions: ret < 0 is error
- In Octasic functions (UINT32): return Octasic error codes
* All error paths prints error messages (so we see how the error propagates)
* Also changed error order testing in init_octasic():
Return status should be tested before the values of by-reference parameters
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=10499
git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/branches/2.5@10510 a0bf4364-ded3-4de4-8d8a-66a801d63aff
Diffstat (limited to 'xpp/astribank_allow.c')
0 files changed, 0 insertions, 0 deletions