diff options
author | Dean Camera <dean@fourwalledcubicle.com> | 2012-05-26 16:02:20 +0000 |
---|---|---|
committer | Dean Camera <dean@fourwalledcubicle.com> | 2012-05-26 16:02:20 +0000 |
commit | 35564bb1a742be5556812fb763e6d0ceb45fefce (patch) | |
tree | b17d8bff005b2fdeaec53fa9253577dc9154ef2e /LUFA/Drivers/USB/Class/Device | |
parent | f235021abe547f3366459480ba17f548f3119ee2 (diff) | |
download | lufa-35564bb1a742be5556812fb763e6d0ceb45fefce.tar.gz lufa-35564bb1a742be5556812fb763e6d0ceb45fefce.tar.bz2 lufa-35564bb1a742be5556812fb763e6d0ceb45fefce.zip |
Fixed swapped Little Endian/Big Endian endpoint and pipe write code for the UC3 devices (thanks to Andrew Chu).
Diffstat (limited to 'LUFA/Drivers/USB/Class/Device')
-rw-r--r-- | LUFA/Drivers/USB/Class/Device/RNDISClassDevice.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/LUFA/Drivers/USB/Class/Device/RNDISClassDevice.c b/LUFA/Drivers/USB/Class/Device/RNDISClassDevice.c index e5aa40cd0..6b710c3d5 100644 --- a/LUFA/Drivers/USB/Class/Device/RNDISClassDevice.c +++ b/LUFA/Drivers/USB/Class/Device/RNDISClassDevice.c @@ -406,8 +406,7 @@ static bool RNDIS_Device_ProcessNDISSet(USB_ClassInfo_RNDIS_Device_t* const RNDI { case OID_GEN_CURRENT_PACKET_FILTER: RNDISInterfaceInfo->State.CurrPacketFilter = le32_to_cpu(*((uint32_t*)SetData)); - RNDISInterfaceInfo->State.CurrRNDISState = le32_to_cpu((RNDISInterfaceInfo->State.CurrPacketFilter) ? - RNDIS_Data_Initialized : RNDIS_Data_Initialized); + RNDISInterfaceInfo->State.CurrRNDISState = (RNDISInterfaceInfo->State.CurrPacketFilter) ? RNDIS_Data_Initialized : RNDIS_Initialized; return true; case OID_802_3_MULTICAST_LIST: |