Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2f58bbf2 authored by Daniel Wagner's avatar Daniel Wagner Committed by John W. Linville
Browse files

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: default avatarDaniel Wagner <wagi@monom.org>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent 43ac2ca3
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -47,8 +47,6 @@ static unsigned int classify_1d(struct sk_buff *skb)
		return 0;
	}

	if (dscp & 0x1c)
		return 0;
	return dscp >> 5;
}