diff options
author | Luiz Augusto von Dentz <[email protected]> | 2024-03-26 12:43:17 -0400 |
---|---|---|
committer | Luiz Augusto von Dentz <[email protected]> | 2024-03-29 09:48:37 -0400 |
commit | 6946b9c99bde45f3ba74e00a7af9a3458cc24bea (patch) | |
tree | 23c9bfbf58276ce2ea304dd265752a757c44a554 /tools/perf/scripts | |
parent | 77f45cca8bc55d00520a192f5a7715133591c83e (diff) |
Bluetooth: hci_sync: Fix not checking error on hci_cmd_sync_cancel_sync
hci_cmd_sync_cancel_sync shall check the error passed to it since it
will be propagated using req_result which is __u32 it needs to be
properly set to a positive value if it was passed as negative othertise
IS_ERR will not trigger as -(errno) would be converted to a positive
value.
Fixes: 63298d6e752f ("Bluetooth: hci_core: Cancel request on command timeout")
Signed-off-by: Luiz Augusto von Dentz <[email protected]>
Reported-and-tested-by: Thorsten Leemhuis <[email protected]>
Closes: https://lore.kernel.org/all/[email protected]/
Diffstat (limited to 'tools/perf/scripts')
0 files changed, 0 insertions, 0 deletions