mac80211: Assign correct TID for local bridged packets
commita8bdf29c6cd117644d27677962fe832b33036c77
authorGuy Cohen <guy.cohen@intel.com>
Wed, 9 Jan 2008 17:12:48 +0000 (9 19:12 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Jan 2008 23:10:41 +0000 (28 15:10 -0800)
tree4d678ea8b9c670374cf3e1defec1f30c5661c735
parent69a73829dbb10e7c8554e66a80cb4fde57347fff
mac80211: Assign correct TID for local bridged packets

This patch assigns correct TID to frames transmitted between
two stations in the same BSS in AP mode.
The problem is that skb->protocol is not set to ETH_P_IP and it is wrong
to use that field at this stage.
The fix compares the LLC/Protocol headers explicitly to check if the
encapsulated frame is IP frame

Signed-off-by: Guy Cohen <guy.cohen@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/wme.c