You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
--- a/net/wireless/util.c
|
|
+++ b/net/wireless/util.c
|
|
@@ -509,7 +509,7 @@ static int __ieee80211_data_to_8023(stru
|
|
* replace EtherType */
|
|
hdrlen += ETH_ALEN + 2;
|
|
else
|
|
- tmp.h_proto = htons(skb->len);
|
|
+ tmp.h_proto = htons(skb->len - hdrlen);
|
|
|
|
pskb_pull(skb, hdrlen);
|
|
|