]> git.ipfire.org Git - thirdparty/hostap.git/commit
MBO: Get rid of the is_first flag in neighbor report array
authorJouni Malinen <j@w1.fi>
Sun, 29 Dec 2024 10:11:25 +0000 (12:11 +0200)
committerJouni Malinen <j@w1.fi>
Sun, 29 Dec 2024 10:37:39 +0000 (12:37 +0200)
commitb9e798339e2fcb67fd6c8addb27498056ce9995f
tree87f1ba3e090c082d6559bf39c0c789fccc5e3636
parent1f4a2e825eda14a7a55fa2aa3a6ddbb4a02cc93e
MBO: Get rid of the is_first flag in neighbor report array

This was set to 1 for the entry at position 0 if
wnm_mbo_trans_reason_present is set. The flag was used only under that
condition and the array position is known, so it is simpler to just use
that without an explicit flag indicating which entry is first.

Signed-off-by: Jouni Malinen <j@w1.fi>
wpa_supplicant/wnm_sta.c
wpa_supplicant/wnm_sta.h