Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9f843537 authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

Merge "msm: ipa: Use correct VLAN header size in partial headers"

parents 29b69b87 b88aaa3a
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -95,7 +95,7 @@ static void ipa_eth_init_vlan_header_v4(struct ipa_eth_device *eth_dev,
	eth_hdr.h_vlan_proto = htons(ETH_P_8021Q);
	eth_hdr.h_vlan_encapsulated_proto = htons(ETH_P_IP);

	hdr_add->hdr_len = ETH_HLEN;
	hdr_add->hdr_len = VLAN_ETH_HLEN;
	memcpy(hdr_add->hdr, &eth_hdr, hdr_add->hdr_len);

	ipa_eth_init_header_common(eth_dev, hdr_add);
@@ -113,7 +113,7 @@ static void ipa_eth_init_vlan_header_v6(struct ipa_eth_device *eth_dev,
	eth_hdr.h_vlan_proto = htons(ETH_P_8021Q);
	eth_hdr.h_vlan_encapsulated_proto = htons(ETH_P_IPV6);

	hdr_add->hdr_len = ETH_HLEN;
	hdr_add->hdr_len = VLAN_ETH_HLEN;
	memcpy(hdr_add->hdr, &eth_hdr, hdr_add->hdr_len);

	ipa_eth_init_header_common(eth_dev, hdr_add);