aboutsummaryrefslogtreecommitdiffstats
path: root/Demos/Device/LowLevel/RNDISEthernet/Lib/Ethernet.h
diff options
context:
space:
mode:
Diffstat (limited to 'Demos/Device/LowLevel/RNDISEthernet/Lib/Ethernet.h')
-rw-r--r--Demos/Device/LowLevel/RNDISEthernet/Lib/Ethernet.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/Demos/Device/LowLevel/RNDISEthernet/Lib/Ethernet.h b/Demos/Device/LowLevel/RNDISEthernet/Lib/Ethernet.h
index e83bad85f..683b187c3 100644
--- a/Demos/Device/LowLevel/RNDISEthernet/Lib/Ethernet.h
+++ b/Demos/Device/LowLevel/RNDISEthernet/Lib/Ethernet.h
@@ -94,12 +94,7 @@
{
MAC_Address_t Destination; /**< Physical MAC address of the packet recipient */
MAC_Address_t Source; /**< Physics MAC address of the packet source */
-
- union
- {
- uint16_t EtherType; /**< Ethernet packet sub-protocol type, for Ethernet V2 packets */
- uint16_t Length; /**< Ethernet frame length, for Ethernet V1 packets */
- };
+ uint16_t EtherType; /**< Ethernet packet sub-protocol type, for Ethernet V2 packets */
} Ethernet_Frame_Header_t;
/* External Variables: */