From: Daniel Wagner Date: Tue, 19 Aug 2008 13:44:35 +0000 (+0200) Subject: mac80211: Use only precedence level of DSCP field for frame classification X-Git-Tag: v2.6.28-rc1~717^2~384^2~33 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=2f58bbf27fe5321a7a208be9071efc54e8a8a3bd;p=linux-2.6-omap-h63xx.git 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 Signed-off-by: John W. Linville --- 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; }