Re: [PATCH] bluetooth: hci_ll: Refactor download_firmware

2019-07-06 Thread Marcel Holtmann
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 > Signed-of

[PATCH] bluetooth: hci_ll: Refactor download_firmware

2019-07-01 Thread Fabian Schindlatz
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 Signed-off-by: Thomas Röthenbacher