X-Git-Url: http://git.linex4red.de/pub/USBasp.git/blobdiff_plain/086975bd9442e86693fce2d16f003c4ad170cdac..e9d9fcde04411001ba8dff07b512fdc46ce13e47:/Demos/Device/ClassDriver/RNDISEthernet/RNDISEthernet.c?ds=inline diff --git a/Demos/Device/ClassDriver/RNDISEthernet/RNDISEthernet.c b/Demos/Device/ClassDriver/RNDISEthernet/RNDISEthernet.c index f963d48e1..cfe90ccd7 100644 --- a/Demos/Device/ClassDriver/RNDISEthernet/RNDISEthernet.c +++ b/Demos/Device/ClassDriver/RNDISEthernet/RNDISEthernet.c @@ -174,6 +174,9 @@ void EVENT_USB_Device_ConfigurationChanged(void) /** Event handler for the library USB Control Request reception event. */ void EVENT_USB_Device_ControlRequest(void) { + /* Send MS OS Compatibility descriptor if requested by the host. */ + CheckIfMSCompatibilityDescriptorRequest(); + RNDIS_Device_ProcessControlRequest(&Ethernet_RNDIS_Interface); }