Commit d94dfd79 authored by Navid Emamdoost's avatar Navid Emamdoost Committed by Marcel Holtmann
Browse files

Bluetooth: bpa10x: change return value

When returning from bpa10x_send_frame, it is necessary to propagate any
potential errno returned from usb_submit_urb.

Signed-off-by: default avatarNavid Emamdoost <>
Signed-off-by: default avatarMarcel Holtmann <>
parent 31fb1bbd
......@@ -337,7 +337,7 @@ static int bpa10x_send_frame(struct hci_dev *hdev, struct sk_buff *skb)
return 0;
return err;
static int bpa10x_set_diag(struct hci_dev *hdev, bool enable)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment