File tree 3 files changed +17
-0
lines changed 3 files changed +17
-0
lines changed Original file line number Diff line number Diff line change 7
7
<directory name = "nt4compat" >
8
8
<xi :include href = "nt4compat/directory.rbuild" />
9
9
</directory >
10
+ <directory name = "usbehci" >
11
+ <xi :include href = "usbehci/usbehci.rbuild" />
12
+ </directory >
10
13
<directory name = "usbd" >
11
14
<xi :include href = "usbd/usbd.rbuild" />
12
15
</directory >
Original file line number Diff line number Diff line change @@ -219,6 +219,13 @@ UsbMpFdoStartDevice(
219
219
220
220
DPRINT ("Busnumber %d\n" , DeviceExtension -> SystemIoBusNumber );
221
221
222
+ Status = IoSetDeviceInterfaceState (& DeviceExtension -> HcdInterfaceName , TRUE);
223
+ if (!NT_SUCCESS (Status ))
224
+ {
225
+ DPRINT1 ("IoSetDeviceInterfaceState failed (0x%x)\n" , Status );
226
+ return Status ;
227
+ }
228
+
222
229
/* Init wrapper with this object */
223
230
return InitLinuxWrapper (DeviceObject );
224
231
}
Original file line number Diff line number Diff line change @@ -271,6 +271,13 @@ StartDevice(
271
271
return Status ;
272
272
}
273
273
274
+ Status = IoSetDeviceInterfaceState (& DeviceExtension -> HcdInterfaceName , TRUE);
275
+ if (!NT_SUCCESS (Status ))
276
+ {
277
+ DPRINT ("IoSetDeviceInterfaceState() failed with status 0x%08lx\n" , Status );
278
+ return Status ;
279
+ }
280
+
274
281
return Status ;
275
282
}
276
283
You can’t perform that action at this time.
0 commit comments