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)
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Wed, 22 Mar 2023 23:05:55 +0000 (16:05 -0700)
commit52dd5e964a55c98c1b0bcf5fc737a5ddd00e7d4d
treea9912d74f90f0e47ecbe3335a067f143ef14e98a
parent1c66bee492a5fe00ae3fe890bb693bfc99f994c6
Bluetooth: Remove "Power-on" check from Mesh feature

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>
net/bluetooth/mgmt.c