diff options
author | Daniel Wagner <wagi@monom.org> | 2008-08-19 15:44:35 +0200 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2008-08-29 16:24:05 -0400 |
commit | 2f58bbf27fe5321a7a208be9071efc54e8a8a3bd (patch) | |
tree | dfed3a44c3c00f25f407ef764c6cb7f0125381f0 /net/mac80211/wme.c | |
parent | 43ac2ca3840f64f699a239535c590fa7ebaaac27 (diff) | |
download | op-kernel-dev-2f58bbf27fe5321a7a208be9071efc54e8a8a3bd.zip op-kernel-dev-2f58bbf27fe5321a7a208be9071efc54e8a8a3bd.tar.gz |
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.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/net/mac80211/wme.c b/net/mac80211/wme.c index 4310e2f..7229e95 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; } |