From 0153c18eedb01463b9af8123a358af88f1c3b647 Mon Sep 17 00:00:00 2001 From: Michael Lotz Date: Mon, 20 Dec 2010 23:24:38 +0000 Subject: [PATCH] That the members aren't initialized in the constructor as pointed out by Coverity was intentional (as explained by the comment). That the fInterval member was somehow totally forgotten though, wasn't. This should only affect EHCI and OHCI as they take the interval into account. Might fix some strange behaviour, but most likely won't, as the interval range is rather narrow and shouldn't be too noticeable if set incorrectly. CID 9558. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39904 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/add-ons/kernel/bus_managers/usb/Pipe.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/add-ons/kernel/bus_managers/usb/Pipe.cpp b/src/add-ons/kernel/bus_managers/usb/Pipe.cpp index ddf3375d5a..b6af871a9d 100644 --- a/src/add-ons/kernel/bus_managers/usb/Pipe.cpp +++ b/src/add-ons/kernel/bus_managers/usb/Pipe.cpp @@ -36,6 +36,7 @@ Pipe::InitCommon(int8 deviceAddress, uint8 endpointAddress, usb_speed speed, fSpeed = speed; fDirection = direction; fMaxPacketSize = maxPacketSize; + fInterval = interval; fHubAddress = hubAddress; fHubPort = hubPort;