bluetooth: bpa10x: change return value
PATCH 1/1 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 Navid Emamdoost <[email protected]>
--- drivers/bluetooth/bpa10x.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/bluetooth/bpa10x.c +1 -1
@@ -337,7 +337,7 @@ static int bpa10x_send_frame(struct hci_dev *hdev, struct sk_buff *skb)usb_free_urb (urb); -return 0 ; +return err; }static int bpa10x_set_diag (struct hci_dev *hdev,bool enable)
Signature · 1 line
2.17.1
Marcel Holtmann
maintainerHi Navid,
Quoted 7 lines
When returning from
bpa10x_send_frame, it is necessary to propagate any potential errno returned fromusb_submit_urb.Signed-off-by Navid Emamdoost <[email protected]>---
drivers/bluetooth/bpa10x.c| 2 +-1 file changed, 1 insertion(+), 1 deletion(-)
patch has been applied to bluetooth-next tree.
Regards
Marcel