summaryrefslogtreecommitdiffstats
path: root/drivers/bluetooth/btusb.c
diff options
context:
space:
mode:
authorFabian Schindlatz2019-07-01 22:57:13 +0200
committerMarcel Holtmann2019-07-06 12:30:51 +0200
commit6322f377bc4a0e3dac040c1c6d01761514f42187 (patch)
tree33d8569029e31fce567f5221492a1611677e96ef /drivers/bluetooth/btusb.c
parentBluetooth: hci_ll: set operational frequency earlier (diff)
downloadkernel-qcow2-linux-6322f377bc4a0e3dac040c1c6d01761514f42187.tar.gz
kernel-qcow2-linux-6322f377bc4a0e3dac040c1c6d01761514f42187.tar.xz
kernel-qcow2-linux-6322f377bc4a0e3dac040c1c6d01761514f42187.zip
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: Thomas Röthenbacher <thomas.roethenbacher@fau.de> Signed-off-by: Thomas Röthenbacher <thomas.roethenbacher@fau.de> Signed-off-by: Fabian Schindlatz <fabian.schindlatz@fau.de> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'drivers/bluetooth/btusb.c')
0 files changed, 0 insertions, 0 deletions