]> git.ipfire.org Git - thirdparty/hostap.git/commit
MBO: Fix the allowed range of mbo_assoc_disallow values
authorJanusz Dziedzic <janusz.dziedzic@gmail.com>
Sun, 24 Oct 2021 19:48:34 +0000 (21:48 +0200)
committerJouni Malinen <j@w1.fi>
Sun, 12 Dec 2021 20:07:19 +0000 (22:07 +0200)
commit5530688b92383d72ecdf6be96e968db5e31dd18e
tree8a1d7efd683059a1617236fa863d0e9050221a7f
parentc8e4283f90e0f46e8ec5aeefe26d23a18f7436df
MBO: Fix the allowed range of mbo_assoc_disallow values

This parameter was added with the commit message indicating the valid
reason code values to be 1-5, but with the implementation allowed only
1. There are five defined reason code values for the Association
Disallowed attribute, so extend the allowed range to cover all those
values.

Fixes: fb9a1c3e285d ("hostapd: Add MBO IE to Beacon, Probe Response, Association Response")
Signed-off-by: Janusz Dziedzic <janusz.dziedzic@gmail.com>
hostapd/ctrl_iface.c
tests/hwsim/test_mbo.py