Commit: f9705b3f4bf1941432f836406ebb98365f939c3a
Parent: 4ea44dc5cca7e4c6569103bdaa9e5c8a1a130d73
Author: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Committer: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Date: 2016-07-29 14:12:49
Tree: d26681e187efa1de858805d370b24eddd1ad1f94

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.

Diffstat

M profiles/audio/a2dp.c | 10 +++++- - - - -

1 files changed, 5 insertions(+), 5 deletions(-)

View Full Diff | Patch