diff options
| author | Guodong Xu <[email protected]> | 2017-05-22 21:50:42 +0800 |
|---|---|---|
| committer | Marcel Holtmann <[email protected]> | 2017-05-23 16:16:31 +0200 |
| commit | 823b84201f4a719414d61b105fd23706c5668ab5 (patch) | |
| tree | 2cbad61b7860c7bfe0d50cc71b068020cb807d63 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
| parent | 3a21bf586dd012e82abbd4dcedafdfa991f02fa3 (diff) | |
Bluetooth: hci_ll: Fix download_firmware() return when __hci_cmd_sync fails
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 <[email protected]>
Acked-by: Rob Herring <[email protected]>
Signed-off-by: Marcel Holtmann <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions