]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
LinuxKPI: 802.11 ieee80211_sn_sub() fix
authorBjoern A. Zeeb <bz@FreeBSD.org>
Mon, 25 Apr 2022 11:35:57 +0000 (11:35 +0000)
committerBjoern A. Zeeb <bz@FreeBSD.org>
Mon, 25 Apr 2022 11:35:57 +0000 (11:35 +0000)
commitb3e7f403a509c1e643ef14d95562f5d7e329d77e
tree49205ebcdb390a2ced70146d4ab6994dd6494c43
parent128b9bf96cae36c33b45a4d418ff502497bbb834
LinuxKPI: 802.11 ieee80211_sn_sub() fix

In ieee80211_sn_sub() we need to shift the mask before applying it.
This fixes the logic from 978f25e840fe4975f243e6077a764842f0e9d3eb.

Reported by: J.R. Oldroyd (fbsd opal.com)
MFC after: 3 days
Sponsored by: The FreeBSD Foundation
sys/compat/linuxkpi/common/include/net/mac80211.h