aboutsummaryrefslogtreecommitdiffstats
path: root/Demos/Device
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2009-04-15 00:56:12 +0000
committerDean Camera <dean@fourwalledcubicle.com>2009-04-15 00:56:12 +0000
commitef06bfd1c0ef5272c32808e23d0fd60d2d1bca9c (patch)
tree7de576e7adb5b006d6ba4ed0f2813a258dd693a4 /Demos/Device
parentecaf872177e771b6b7e331b47a5b68832b5dd126 (diff)
downloadlufa-ef06bfd1c0ef5272c32808e23d0fd60d2d1bca9c.tar.gz
lufa-ef06bfd1c0ef5272c32808e23d0fd60d2d1bca9c.tar.bz2
lufa-ef06bfd1c0ef5272c32808e23d0fd60d2d1bca9c.zip
Fixed minor issue with the RNDISEthernet demo DHCP protocol decoder routine using incorrectly named variables (thanks to Jonathan Oakley).
Fixed GenericHIDHost demo report write routine incorrect for control type requests (thanks to Andrei).
Diffstat (limited to 'Demos/Device')
-rw-r--r--Demos/Device/RNDISEthernet/ProtocolDecoders.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Demos/Device/RNDISEthernet/ProtocolDecoders.c b/Demos/Device/RNDISEthernet/ProtocolDecoders.c
index db5da3c81..add0333f2 100644
--- a/Demos/Device/RNDISEthernet/ProtocolDecoders.c
+++ b/Demos/Device/RNDISEthernet/ProtocolDecoders.c
@@ -273,7 +273,7 @@ void DecodeDHCPHeader(void* InDataStart)
}
}
- DHCPOptionsINStart += ((DHCPOptionsINStart[0] == DHCP_OPTION_PAD) ? 1 : (DHCPOptionsINStart[1] + 2));
+ DHCPOptions += ((DHCPOptions[0] == DHCP_OPTION_PAD) ? 1 : (DHCPOptions[1] + 2));
}
#endif