Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F107589061
D29775.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
669 B
Referenced Files
None
Subscribers
None
D29775.diff
View Options
diff --git a/sys/netgraph/bluetooth/drivers/ubt/ng_ubt.c b/sys/netgraph/bluetooth/drivers/ubt/ng_ubt.c
--- a/sys/netgraph/bluetooth/drivers/ubt/ng_ubt.c
+++ b/sys/netgraph/bluetooth/drivers/ubt/ng_ubt.c
@@ -825,8 +825,6 @@
case USB_ST_SETUP:
submit_next:
- /* Try clear stall first */
- usbd_xfer_set_stall(xfer);
usbd_xfer_set_frame_len(xfer, 0, usbd_xfer_max_len(xfer));
usbd_transfer_submit(xfer);
break;
@@ -835,6 +833,8 @@
if (error != USB_ERR_CANCELLED) {
printf("ng_ubt: interrupt transfer failed: %s\n",
usbd_errstr(error));
+ /* Try clear stall first */
+ usbd_xfer_set_stall(xfer);
goto submit_next;
}
break;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Jan 17, 7:40 AM (20 h, 43 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15835936
Default Alt Text
D29775.diff (669 B)
Attached To
Mode
D29775: ng_ubt: Do not clear stall unconditionally before receiving of HCI command response.
Attached
Detach File
Event Timeline
Log In to Comment