]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
xhci(4): Only drop BULK and INTERRUPT endpoints to reset data toggle.
authorHans Petter Selasky <hselasky@FreeBSD.org>
Tue, 3 May 2022 16:09:17 +0000 (18:09 +0200)
committerHans Petter Selasky <hselasky@FreeBSD.org>
Tue, 3 May 2022 19:41:51 +0000 (21:41 +0200)
commit610528736f3f0bf51f990dd93c5061a7a437e519
tree28dbf43111bd039f3d28fa3573f7e8ab2f2f5bb6
parent5e017a84744a8124ecb0418f82f550738c7241e8
xhci(4): Only drop BULK and INTERRUPT endpoints to reset data toggle.

Only drop BULK and INTERRUPT endpoints, to reset the data toggle,
because for other endpoint types this is not critical.

While at it fix some whitespace.

Tested by: ehaupt@
PR: 262882
Approved by: re (gjb, early MFC)
Sponsored by: NVIDIA Networking

(cherry picked from commit e276d281503160ba3648bd394cde95736ee53329)
sys/dev/usb/controller/xhci.c