]> git.ipfire.org Git - thirdparty/hostap.git/commit
nl80211: Fix PASN auth alg check on big-endian CPUs
authorJouni Malinen <j@w1.fi>
Sat, 22 Feb 2025 09:25:31 +0000 (11:25 +0200)
committerJouni Malinen <j@w1.fi>
Sat, 22 Feb 2025 09:25:31 +0000 (11:25 +0200)
commit3e592a1a7d63ba2cd1fcada63ca52a96b99ca3c9
tree08fcd8a0ef7b920538cc1d90d5fe67b3d936b061
parentff5248a8e91ec9cc0d1deff3b7aee85e4c4ab882
nl80211: Fix PASN auth alg check on big-endian CPUs

auth_type is set to a value that is already converted to host byte order
and as such the following comparison must not convert the defined value
to little-endian byte order.

Fixes: 58a96187eed8 ("nl80211: Allow PASN Authentication frames with random (foreign) MAC address")
Signed-off-by: Jouni Malinen <j@w1.fi>
src/drivers/driver_nl80211_event.c