From: Helmut Schaa Date: Mon, 1 Aug 2011 09:32:52 +0000 (+0200) Subject: mac80211: Fill in skb->protocol information for injected frames X-Git-Tag: v3.2-rc1~129^2~422^2^2~33 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f75f5c6f61b4d34bf92625fcd1131dd58921e1b5;p=pandora-kernel.git mac80211: Fill in skb->protocol information for injected frames Some drivers (ath9k for example) are using skb->protocol to treat EAPOL frames somehow special (disallow aggregation for example). When running in AP mode hostapd injects the EAPOL frames through a monitor interface and thus skb->protocol isn't set at all. Hence, if the injected frame is a data frame and carries a rfc1042 headaer update the skb->protocol field accordingly. Signed-off-by: Helmut Schaa Signed-off-by: John W. Linville --- Reading git-diff-tree failed