OSDN Git Service

Bluetooth: hci_sync: Fix not able to set force_static_address
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Sat, 8 Oct 2022 01:08:43 +0000 (18:08 -0700)
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Mon, 12 Dec 2022 22:19:23 +0000 (14:19 -0800)
commiteeb1aafe97fa6da558157d2eb18cce25878b8656
tree3a2dc12de0b11e0357fc728efdc92a0384e39754
parente411443c32554b4db157eb49f199d9cfebda2817
Bluetooth: hci_sync: Fix not able to set force_static_address

force_static_address shall be writable while hdev is initing but is not
considered powered yet since the static address is written only when
powered.

Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Tested-by: Brian Gix <brian.gix@intel.com>
net/bluetooth/hci_debugfs.c