mirror of
https://github.com/qmk/qmk_firmware.git
synced 2025-06-11 03:14:14 +00:00
Fixed low level RNDIS demo incorrectly setting the RNDIS state when a null packet filter was requested.
This commit is contained in:
parent
dfdf4de8fa
commit
d0161e0a9b
@ -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:
|
||||
|
@ -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 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>
|
||||
|
Loading…
Reference in New Issue
Block a user