Bluetooth: btbcm: Make btbcm_initialize() print local-name on re-init too
authorHans de Goede <hdegoede@redhat.com>
Fri, 17 Apr 2020 17:15:28 +0000 (19:15 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Wed, 22 Apr 2020 17:43:58 +0000 (19:43 +0200)
commit2fcdd562b91bdc29dddd406f7278102e4d90b1fa
tree7094de13f3b8d55139d4148643aa8de10235ccf1
parent0287c5d84f5c0cde6c39362d56c7002dc4acedb3
Bluetooth: btbcm: Make btbcm_initialize() print local-name on re-init too

Make btbcm_initialize() get and print the device's local-name on re-init
too, this will make us also print the local-name after loading the
Patch on UART attached devices making things more consistent.

This also removes some code duplication from btbcm_setup_patchram()
and allows more code duplication removal there in a follow-up patch.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
drivers/bluetooth/btbcm.c