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).
This commit is contained in:
Dean Camera committed 2009-04-15 00:56:12 +00:00
1 parent ecaf872177
commit ef06bfd1c0
4 files changed
+18 -5

No files matched your search

@@ -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