]> www.infradead.org Git - users/jedix/linux-maple.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)
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Thu, 13 Mar 2025 20:43:39 +0000 (16:43 -0400)
commitf6685a96c8c8a07e260e39bac86d4163cfb38a4d
tree674c569ce848dfa5c65e7eaf86bcb871d1522397
parent72d061ee630d0dbb45c2920d8d19b3861c413e54
Bluetooth: hci_event: Fix connection regression between LE and non-LE adapters

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>
include/net/bluetooth/hci.h