Skip to content
Commit 6322f377 authored by Fabian Schindlatz's avatar Fabian Schindlatz Committed by Marcel Holtmann
Browse files

Bluetooth: hci_ll: Refactor download_firmware



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: default avatarThomas Röthenbacher <thomas.roethenbacher@fau.de>
Signed-off-by: default avatarThomas Röthenbacher <thomas.roethenbacher@fau.de>
Signed-off-by: default avatarFabian Schindlatz <fabian.schindlatz@fau.de>
Signed-off-by: default avatarMarcel Holtmann <marcel@holtmann.org>
parent a2e02f38
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment