commit | f9705b3f4bf1941432f836406ebb98365f939c3a | [log] [tgz] |
---|---|---|
author | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | Thu Jul 28 16:45:30 2016 +0300 |
committer | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | Fri Jul 29 14:12:49 2016 +0300 |
tree | d26681e187efa1de858805d370b24eddd1ad1f94 | |
parent | 4ea44dc5cca7e4c6569103bdaa9e5c8a1a130d73 [diff] |
audio/a2dp: Fix always setting -EAGAIN for all errors avdtp_error_posix_errno always return the posix errno not the negative one which is then assigned to perror negative and then again as negative in the switch statement making it assume the original value which is the positive errno which don't match with the expected values which are negative causing -EAGAIN to always be returned.