summaryrefslogtreecommitdiff
path: root/net/mac80211/wme.c
diff options
context:
space:
mode:
authorDaniel Wagner <wagi@monom.org>2008-08-19 15:44:35 +0200
committerJohn W. Linville <linville@tuxdriver.com>2008-08-29 16:24:05 -0400
commit2f58bbf27fe5321a7a208be9071efc54e8a8a3bd (patch)
treedfed3a44c3c00f25f407ef764c6cb7f0125381f0 /net/mac80211/wme.c
parent43ac2ca3840f64f699a239535c590fa7ebaaac27 (diff)
mac80211: Use only precedence level of DSCP field for frame classification
Bit 4-5 of DSCP should not be considered by classify_d1. The 802.11 QoS Priority field is only depending on the precedence level. Signed-off-by: Daniel Wagner <wagi@monom.org> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/mac80211/wme.c')
-rw-r--r--net/mac80211/wme.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/net/mac80211/wme.c b/net/mac80211/wme.c
index 4310e2f6566..7229e958879 100644
--- a/net/mac80211/wme.c
+++ b/net/mac80211/wme.c
@@ -47,8 +47,6 @@ static unsigned int classify_1d(struct sk_buff *skb)
return 0;
}
- if (dscp & 0x1c)
- return 0;
return dscp >> 5;
}