From ef06bfd1c0ef5272c32808e23d0fd60d2d1bca9c Mon Sep 17 00:00:00 2001 From: Dean Camera Date: Wed, 15 Apr 2009 00:56:12 +0000 Subject: 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). --- Demos/Device/RNDISEthernet/ProtocolDecoders.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Demos/Device') 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 -- cgit v1.2.3