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-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=2f58bbf27fe5321a7a208be9071efc54e8a8a3bd;p=openwrt%2Fstaging%2Fblogic.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 4310e2f65661..7229e958879d 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; }