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
This commit is contained in:
Michael Lotz
2010-12-20 23:24:38 +00:00
parent 29a98dd656
commit 0153c18eed
@@ -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;