]> git.hungrycats.org Git - linux/commit
Bluetooth: hci_core: Fix calling mgmt_device_connected
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Fri, 8 Nov 2024 16:19:54 +0000 (11:19 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 22 Nov 2024 14:37:29 +0000 (15:37 +0100)
commitdd60de788153cf9eaaac6e68a07a5b51d23fbc2b
treee8db6ed1755b1f198acfbf8a9cbc2965fd6a0767
parent334e297d0a90566c1229f89238849b7af33df147
Bluetooth: hci_core: Fix calling mgmt_device_connected

[ Upstream commit 7967dc8f797f454d4f4acec15c7df0cdf4801617 ]

Since 61a939c68ee0 ("Bluetooth: Queue incoming ACL data until
BT_CONNECTED state is reached") there is no long the need to call
mgmt_device_connected as ACL data will be queued until BT_CONNECTED
state.

Link: https://bugzilla.kernel.org/show_bug.cgi?id=219458
Link: https://github.com/bluez/bluez/issues/1014
Fixes: 333b4fd11e89 ("Bluetooth: L2CAP: Fix uaf in l2cap_connect")
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
net/bluetooth/hci_core.c