diff options
author | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2024-03-26 19:43:17 +0300 |
---|---|---|
committer | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2024-03-29 16:48:37 +0300 |
commit | 6946b9c99bde45f3ba74e00a7af9a3458cc24bea (patch) | |
tree | 23c9bfbf58276ce2ea304dd265752a757c44a554 /tools/perf/scripts/python/gecko.py | |
parent | 77f45cca8bc55d00520a192f5a7715133591c83e (diff) | |
download | linux-6946b9c99bde45f3ba74e00a7af9a3458cc24bea.tar.xz |
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 <luiz.von.dentz@intel.com>
Reported-and-tested-by: Thorsten Leemhuis <linux@leemhuis.info>
Closes: https://lore.kernel.org/all/08275279-7462-4f4a-a0ee-8aa015f829bc@leemhuis.info/
Diffstat (limited to 'tools/perf/scripts/python/gecko.py')
0 files changed, 0 insertions, 0 deletions