[PATCH openEuler-1.0-LTS] Bluetooth: use correct lock to prevent UAF of hdev object