]> git.ipfire.org Git - thirdparty/hostap.git/commit
ieee802_11_mgmt: Handle frame info more consistently
authorJouni Malinen <j@w1.fi>
Wed, 7 Feb 2018 10:34:41 +0000 (12:34 +0200)
committerJouni Malinen <j@w1.fi>
Wed, 7 Feb 2018 10:34:41 +0000 (12:34 +0200)
commit659ac96d7f4e52b2e14fc2d4a63c5a65833a84c1
tree2726d7ea08686478983d0740b4bbb8508830a031
parent458d8984de1d171b4d115c79e8c887283a7b231a
ieee802_11_mgmt: Handle frame info more consistently

Check for the fi parameter to be non-NULL before trying to fetch the
ssi_signal information similarly to how the fi->freq was already
handled. While the meta information is supposed to be available, it
looks like there is at least one corner case where fi == NULL could be
used (Authentication frame reprocessing after RADIUS-based ACL).

Signed-off-by: Jouni Malinen <j@w1.fi>
src/ap/ieee802_11.c