Bluetooth: btbcm: Fix handling of firmware not found
authorPetri Gynther <pgynther@google.com>
Wed, 10 Feb 2016 20:00:46 +0000 (12:00 -0800)
committerMarcel Holtmann <marcel@holtmann.org>
Tue, 23 Feb 2016 19:29:37 +0000 (20:29 +0100)
commitad750fa142747f3f42b66ae051a0f275bd2035df
treea69ec889eb2ddf9303bdebcbc767c8af0d445414
parent2791b44d6b4a2280568e0dc84be51992b7b367f1
Bluetooth: btbcm: Fix handling of firmware not found

If the call to request_firmware() fails in btbcm_setup_patchram(),
the BCM chip will be operating with its default firmware.

In this case, btbcm_setup_patchram() should not return immediately
but instead should skip to btbcm_check_bdaddr() and quirk setup.

Signed-off-by: Petri Gynther <pgynther@google.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
drivers/bluetooth/btbcm.c