summaryrefslogtreecommitdiff
path: root/rust/kernel
diff options
context:
space:
mode:
authorSergey Shtylyov <s.shtylyov@omp.ru>2025-08-05 22:14:51 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-08-28 16:31:13 +0200
commit975e2590a72ed2909ffaa043dcdb2c729b4fbe16 (patch)
treef577936fe86d5049f4af5acb8ba9a6ecaed5805a /rust/kernel
parentdcb367e70770cbf0de15b4f681d409c482572431 (diff)
Bluetooth: hci_conn: do return error from hci_enhanced_setup_sync()
[ Upstream commit 0eaf7c7e85da7495c0e03a99375707fc954f5e7b ] The commit e07a06b4eb41 ("Bluetooth: Convert SCO configure_datapath to hci_sync") missed to update the *return* statement under the *case* of BT_CODEC_TRANSPARENT in hci_enhanced_setup_sync(), which led to returning success (0) instead of the negative error code (-EINVAL). However, the result of hci_enhanced_setup_sync() seems to be ignored anyway, since NULL gets passed to hci_cmd_sync_queue() as the last argument in that case and the only function interested in that result is specified by that argument. Fixes: e07a06b4eb41 ("Bluetooth: Convert SCO configure_datapath to hci_sync") Signed-off-by: Sergey Shtylyov <s.shtylyov@omp.ru> Reviewed-by: Paul Menzel <pmenzel@molgen.mpg.de> Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'rust/kernel')
0 files changed, 0 insertions, 0 deletions