]> www.infradead.org Git - users/jedix/linux-maple.git/commit
Bluetooth: hci_core: Fix sending MGMT_EV_CONNECT_FAILED
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Fri, 30 Aug 2024 21:29:27 +0000 (17:29 -0400)
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Tue, 10 Sep 2024 17:06:37 +0000 (13:06 -0400)
commitd47da6bd4cfa982fe903f33423b9e2ec541e9496
treea05c2e20917042db9a8b5d5be999c9523c5691c8
parent9a0570948c5def5c59e588dc0e009ed850a1f5a1
Bluetooth: hci_core: Fix sending MGMT_EV_CONNECT_FAILED

If HCI_CONN_MGMT_CONNECTED has been set then the event shall be
HCI_CONN_MGMT_DISCONNECTED.

Fixes: b644ba336997 ("Bluetooth: Update device_connected and device_found events to latest API")
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
include/net/bluetooth/hci_core.h
net/bluetooth/hci_conn.c
net/bluetooth/mgmt.c