aboutsummaryrefslogtreecommitdiffstats
path: root/LUFA/Drivers/USB/Class/Device/RNDISClassDevice.c
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2012-05-26 16:03:05 +0000
committerDean Camera <dean@fourwalledcubicle.com>2012-05-26 16:03:05 +0000
commit18d91ece3b178a04d295518517b2aca5266bb078 (patch)
tree59b4503c5ba8326945d41bde0aec889553ee4908 /LUFA/Drivers/USB/Class/Device/RNDISClassDevice.c
parent5ec9d04bcaa0f48098441f36dd6d048ff32ecb99 (diff)
parent35564bb1a742be5556812fb763e6d0ceb45fefce (diff)
downloadlufa-18d91ece3b178a04d295518517b2aca5266bb078.tar.gz
lufa-18d91ece3b178a04d295518517b2aca5266bb078.tar.bz2
lufa-18d91ece3b178a04d295518517b2aca5266bb078.zip
AppConfigHeaders: Merge in latest trunk.
Diffstat (limited to 'LUFA/Drivers/USB/Class/Device/RNDISClassDevice.c')
-rw-r--r--LUFA/Drivers/USB/Class/Device/RNDISClassDevice.c3
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: