Fixed low level RNDIS demo incorrectly setting the RNDIS state when a null packet...
authorDean Camera <dean@fourwalledcubicle.com>
Tue, 22 Dec 2015 11:34:50 +0000 (22:34 +1100)
committerDean Camera <dean@fourwalledcubicle.com>
Tue, 22 Dec 2015 11:34:50 +0000 (22:34 +1100)
Demos/Device/LowLevel/RNDISEthernet/Lib/RNDIS.c
LUFA/DoxygenPages/ChangeLog.txt

index 08ec74a..be13ce2 100644 (file)
@@ -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 */
                        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:
 
                        return true;
                case OID_802_3_MULTICAST_LIST:
index b6bd54a..36c5bf9 100644 (file)
@@ -14,6 +14,9 @@
   *   - Fixed broken USE_RAM_DESCRIPTORS compile time option when the FIXED_NUM_CONFIGURATIONS compile time option is not enabled
   *     in a user application (thanks to Matlo)
   *   - Fixed missing \c va_end() calls in the HID bootloader CLI app which could cause portability issues
   *   - Fixed broken USE_RAM_DESCRIPTORS compile time option when the FIXED_NUM_CONFIGURATIONS compile time option is not enabled
   *     in a user application (thanks to Matlo)
   *   - Fixed missing \c va_end() calls in the HID bootloader CLI app which could cause portability issues
+  *   - Fixed void pointer arithmetic in the \c Serial_SendData() functions for AVR8 and XMEGA architectures
+  *   - Fixed void pointer arithmetic in the low level RNDIS demo protocol decoders
+  *   - Fixed low level RNDIS demo incorrectly setting the RNDIS state when a null packet filter was requested
   *
   *  \section Sec_ChangeLog151115 Version 151115
   *  <b>New:</b>
   *
   *  \section Sec_ChangeLog151115 Version 151115
   *  <b>New:</b>