aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/failed-syscalls-by-pid.py
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@intel.com>2013-09-16 13:05:13 +0300
committerGustavo Padovan <gustavo.padovan@collabora.co.uk>2013-09-18 16:41:07 -0500
commitdc280801da1006cd9c702cfaae7ae677fdbc5b53 (patch)
treeb6bf83bd64d013e957addee332d960046449e0d6 /tools/perf/scripts/python/failed-syscalls-by-pid.py
parent0af784dcbc44e3cf21a1bda3ce14df5fcc2bfe93 (diff)
Bluetooth: Fix double error response for l2cap_create_chan_req
When an L2CAP request handler returns non-zero the calling code will send a command reject response. The l2cap_create_chan_req function will in some cases send its own response but then still return a -EFAULT error which would cause two responses to be sent. This patch fixes this by making the function return 0 after sending its own response. Signed-off-by: Johan Hedberg <johan.hedberg@intel.com> Acked-by: Marcel Holtmann <marcel@holtmann.org> Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
Diffstat (limited to 'tools/perf/scripts/python/failed-syscalls-by-pid.py')
0 files changed, 0 insertions, 0 deletions