From e9d9fcde04411001ba8dff07b512fdc46ce13e47 Mon Sep 17 00:00:00 2001 From: Dean Camera Date: Sun, 22 Apr 2018 16:08:12 +1000 Subject: Add MS OS Compatibility descriptors to RNDIS demos for driverless install on Windows. --- Demos/Device/LowLevel/RNDISEthernet/RNDISEthernet.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Demos/Device/LowLevel/RNDISEthernet/RNDISEthernet.c') diff --git a/Demos/Device/LowLevel/RNDISEthernet/RNDISEthernet.c b/Demos/Device/LowLevel/RNDISEthernet/RNDISEthernet.c index 80cde672c..247458f39 100644 --- a/Demos/Device/LowLevel/RNDISEthernet/RNDISEthernet.c +++ b/Demos/Device/LowLevel/RNDISEthernet/RNDISEthernet.c @@ -130,6 +130,9 @@ void EVENT_USB_Device_ConfigurationChanged(void) */ void EVENT_USB_Device_ControlRequest(void) { + /* Send MS OS Compatibility descriptor if requested by the host. */ + CheckIfMSCompatibilityDescriptorRequest(); + /* Process RNDIS class commands */ switch (USB_ControlRequest.bRequest) { -- cgit v1.2.3