Re: [PATCH] bluetooth: hci_ll: Refactor download_firmware

From: Marcel Holtmann
Date: Sat Jul 06 2019 - 06:51:38 EST


Hi Fabian,

> Extract the new function send_command_from_firmware from
> download_firmware, which helps with the readability of the switch
> statement. This way the code is less deeply nested and also no longer
> exceeds the 80 character limit.
>
> Co-developed-by: Thomas RÃthenbacher <thomas.roethenbacher@xxxxxx>
> Signed-off-by: Thomas RÃthenbacher <thomas.roethenbacher@xxxxxx>
> Signed-off-by: Fabian Schindlatz <fabian.schindlatz@xxxxxx>
> ---
> drivers/bluetooth/hci_ll.c | 45 ++++++++++++++++++++++++--------------
> 1 file changed, 28 insertions(+), 17 deletions(-)

patch has been applied to bluetooth-next tree.

Regards

Marcel