Bluetooth: Remove "Power-on" check from Mesh feature
authorBrian Gix <brian.gix@gmail.com>
Mon, 6 Mar 2023 22:32:21 +0000 (14:32 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 30 Mar 2023 10:49:10 +0000 (12:49 +0200)
commit554828c833e67970eaad02f44064487626910088
treec565d51472df47fdabf8faa4ddc2ac1249d7088e
parente2a90a5b153ad7d6eabae73106c2d16b27dad45f
Bluetooth: Remove "Power-on" check from Mesh feature

[ Upstream commit 52dd5e964a55c98c1b0bcf5fc737a5ddd00e7d4d ]

The Bluetooth mesh experimental feature enable was requiring the
controller to be powered off in order for the Enable to work. Mesh is
supposed to be enablable regardless of the controller state, and created
an unintended requirement that the mesh daemon be started before the
classic bluetoothd daemon.

Fixes: af6bcc1921ff ("Bluetooth: Add experimental wrapper for MGMT based mesh")
Signed-off-by: Brian Gix <brian.gix@gmail.com>
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
net/bluetooth/mgmt.c