]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite00a9cf6a067b7f51a52244c2ab6211e3f95e84d
tree7094de13f3b8d55139d4148643aa8de10235ccf1
parent438d5c2d3899fe86bc701fd2f684de573956bffb
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