]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
Bluetooth: MGMT: mesh_send: check instances prior disabling advertising
authorChristian Eggers <ceggers@arri.de>
Wed, 25 Jun 2025 13:09:31 +0000 (15:09 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 10 Jul 2025 14:03:05 +0000 (16:03 +0200)
commit0506547f6e3d2a1db4e3967975b65f46d12e331c
tree15ce4ee9ee533144fff72f943b431b7bdeb24848
parent8af1406949c1e45b1f925996b42c53c44259ba07
Bluetooth: MGMT: mesh_send: check instances prior disabling advertising

commit f3cb5676e5c11c896ba647ee309a993e73531588 upstream.

The unconditional call of hci_disable_advertising_sync() in
mesh_send_done_sync() also disables other LE advertisings (non mesh
related).

I am not sure whether this call is required at all, but checking the
adv_instances list (like done at other places) seems to solve the
problem.

Fixes: b338d91703fa ("Bluetooth: Implement support for Mesh")
Cc: stable@vger.kernel.org
Signed-off-by: Christian Eggers <ceggers@arri.de>
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
net/bluetooth/mgmt.c