aboutsummaryrefslogtreecommitdiffstats
path: root/Demos/Device/LowLevel/RNDISEthernet/RNDISEthernet.c
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2018-04-22 16:08:12 +1000
committerDean Camera <dean@fourwalledcubicle.com>2018-04-22 16:08:12 +1000
commite9d9fcde04411001ba8dff07b512fdc46ce13e47 (patch)
tree41d1c6919e49dd49c6fb1426d7ff6a6aa708643b /Demos/Device/LowLevel/RNDISEthernet/RNDISEthernet.c
parent086975bd9442e86693fce2d16f003c4ad170cdac (diff)
downloadlufa-e9d9fcde04411001ba8dff07b512fdc46ce13e47.tar.gz
lufa-e9d9fcde04411001ba8dff07b512fdc46ce13e47.tar.bz2
lufa-e9d9fcde04411001ba8dff07b512fdc46ce13e47.zip
Add MS OS Compatibility descriptors to RNDIS demos for driverless install on Windows.
Diffstat (limited to 'Demos/Device/LowLevel/RNDISEthernet/RNDISEthernet.c')
-rw-r--r--Demos/Device/LowLevel/RNDISEthernet/RNDISEthernet.c3
1 files changed, 3 insertions, 0 deletions
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)
{