]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/blobdiff - net/mac80211/tx.c
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wirel...
[mirror_ubuntu-hirsute-kernel.git] / net / mac80211 / tx.c
index 2a6ae8030bd9e8997cdc4662aeabbc9644ac19cf..9e67cc97b87bec9826ceef5795f8a72d90457458 100644 (file)
@@ -2089,7 +2089,7 @@ netdev_tx_t ieee80211_subif_start_xmit(struct sk_buff *skb,
                encaps_data = bridge_tunnel_header;
                encaps_len = sizeof(bridge_tunnel_header);
                skip_header_bytes -= 2;
-       } else if (ethertype >= 0x600) {
+       } else if (ethertype >= ETH_P_802_3_MIN) {
                encaps_data = rfc1042_header;
                encaps_len = sizeof(rfc1042_header);
                skip_header_bytes -= 2;