diff options
author | Max Chou <max.chou@realtek.com> | 2023-05-30 11:34:20 +0300 |
---|---|---|
committer | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2023-08-11 21:36:31 +0300 |
commit | 6b42f04e241732158592aac6241822cd6b4a7aae (patch) | |
tree | 9cda713626dd9d043a0bb57e07feb26c418afca5 /net/devlink | |
parent | 7f74563e6140e42b4ffae62adbef7a65967a3f98 (diff) | |
download | linux-6b42f04e241732158592aac6241822cd6b4a7aae.tar.xz |
Bluetooth: btrtl: Correct the length of the HCI command for drop fw
The original code did not determine the length value of the HCI command
for drop fw even there's no parameter needed. In this commit, use struct
hci_command_hdr to manage opcode and length. It would be more regular and
more readable.
Suggested-by: Alex Lu <alex_lu@realsil.com.cn>
Signed-off-by: Max Chou <max.chou@realtek.com>
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Diffstat (limited to 'net/devlink')
0 files changed, 0 insertions, 0 deletions