diff options
author | Dean Camera <dean@fourwalledcubicle.com> | 2015-12-22 22:34:50 +1100 |
---|---|---|
committer | Dean Camera <dean@fourwalledcubicle.com> | 2015-12-22 22:34:50 +1100 |
commit | d0161e0a9bbc8d1a059a32e1c21fdd201cce1f3c (patch) | |
tree | 4efc1f0ee985e4ae050336145a0284d216f0dfdb /Demos | |
parent | dfdf4de8fa798a5d66267a1d11107cbe8f76bcc8 (diff) | |
download | lufa-d0161e0a9bbc8d1a059a32e1c21fdd201cce1f3c.tar.gz lufa-d0161e0a9bbc8d1a059a32e1c21fdd201cce1f3c.tar.bz2 lufa-d0161e0a9bbc8d1a059a32e1c21fdd201cce1f3c.zip |
Fixed low level RNDIS demo incorrectly setting the RNDIS state when a null packet filter was requested.
Diffstat (limited to 'Demos')
-rw-r--r-- | Demos/Device/LowLevel/RNDISEthernet/Lib/RNDIS.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Demos/Device/LowLevel/RNDISEthernet/Lib/RNDIS.c b/Demos/Device/LowLevel/RNDISEthernet/Lib/RNDIS.c index 08ec74aa9..be13ce277 100644 --- a/Demos/Device/LowLevel/RNDISEthernet/Lib/RNDIS.c +++ b/Demos/Device/LowLevel/RNDISEthernet/Lib/RNDIS.c @@ -380,7 +380,7 @@ static bool ProcessNDISSet(uint32_t OId, void* SetData, uint16_t SetSize) CurrPacketFilter = *((uint32_t*)SetData); /* Set the RNDIS state to initialized if the packet filter is non-zero */ - CurrRNDISState = ((CurrPacketFilter) ? RNDIS_Data_Initialized : RNDIS_Data_Initialized); + CurrRNDISState = ((CurrPacketFilter) ? RNDIS_Data_Initialized : RNDIS_Initialized); return true; case OID_802_3_MULTICAST_LIST: |