Thread (3 messages) flat view 3 messages, 3 authors, 2017-05-23

[PATCH] Bluetooth: hci_ll: Fix download_firmware() return when __hci_cmd_sync fails

From: marcel@holtmann.org (Marcel Holtmann)
Date: 2017-05-23 14:19:04
Also in: linux-bluetooth, lkml

Hi Guodong,
When __hci_cmd_sync() fails, download_firmware() should also fail, and
the same error value should be returned as PTR_ERR(skb).

Without this fix, download_firmware() will return a success when it actually
failed in __hci_cmd_sync().

Fixes: 371805522f87 ("bluetooth: hci_uart: add LL protocol serdev driver support")
Signed-off-by: Guodong Xu <redacted>
---
drivers/bluetooth/hci_ll.c | 1 +
1 file changed, 1 insertion(+)
patch has been applied to bluetooth-next tree.

Regards

Marcel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help