diff options
| author | Wei Yongjun <weiyongjun1@huawei.com> | 2019-07-10 06:12:22 +0000 |
|---|---|---|
| committer | Marcel Holtmann <marcel@holtmann.org> | 2019-08-12 18:23:49 +0200 |
| commit | 5ee6310fb163ba7c66718905d4a19f1e71e641e0 (patch) | |
| tree | ca1a6073ddb13e8ea0e4d50b47dd2aa0f5578498 /lib/string_helpers.c | |
| parent | 125b7e0949d4e72b15c2b1a1590f8cece985a918 (diff) | |
Bluetooth: btusb: Fix error return code in btusb_mtk_setup_firmware()
Fix to return error code -EINVAL from the error handling
case instead of 0, as done elsewhere in this function.
Fixes: a1c49c434e15 ("Bluetooth: btusb: Add protocol support for MediaTek MT7668U USB devices")
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions
