]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
Bluetooth: hci_event: Fix connection regression between LE and non-LE adapters
authorArkadiusz Bokowy <arkadiusz.bokowy@gmail.com>
Wed, 12 Mar 2025 19:09:43 +0000 (20:09 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 28 Mar 2025 21:03:27 +0000 (22:03 +0100)
commite8f50474037fdf704ad59de9f4aef2a91c3a7cfb
tree5c50c768912d6e9aa5c816e9421421b4833514c3
parent761b7c36addd22c7e6ceb05caaadc3b062d99faa
Bluetooth: hci_event: Fix connection regression between LE and non-LE adapters

[ Upstream commit f6685a96c8c8a07e260e39bac86d4163cfb38a4d ]

Due to a typo during defining HCI errors it is not possible to connect
LE-capable device with BR/EDR only adapter. The connection is terminated
by the LE adapter because the invalid LL params error code is treated
as unsupported remote feature.

Fixes: 79c0868ad65a ("Bluetooth: hci_event: Use HCI error defines instead of magic values")
Signed-off-by: Arkadiusz Bokowy <arkadiusz.bokowy@gmail.com>
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
include/net/bluetooth/hci.h