Skip to content

Commit e33b567

Browse files
committed
usb: hub: PDO: Refernce interface before passing up
svn path=/branches/GSoC_2016/USB/; revision=72384
1 parent 0f9441b commit e33b567

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/usb/usbhub/pdo.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -782,6 +782,7 @@ USBHUB_PdoHandlePnp(
782782
{
783783
DPRINT1("USB_BUS_INTERFACE_USBDI_GUID\n");
784784
RtlCopyMemory(Stack->Parameters.QueryInterface.Interface, &UsbChildExtension->DeviceInterface, Stack->Parameters.QueryInterface.Size);
785+
UsbChildExtension->DeviceInterface.InterfaceReference(UsbChildExtension->DeviceInterface.BusContext);
785786
Status = STATUS_SUCCESS;
786787
break;
787788
}

0 commit comments

Comments
 (0)