]> git.ipfire.org Git - thirdparty/hostap.git/commit
FST: Make sure get_hw_modes() callback is set for hostapd
authorJouni Malinen <j@w1.fi>
Sat, 7 May 2022 21:27:51 +0000 (00:27 +0300)
committerJouni Malinen <j@w1.fi>
Sat, 7 May 2022 21:27:51 +0000 (00:27 +0300)
commit993eb12407f26a8f4fa34153749588074fb09d3a
tree15d30d652bf3b78eeffaf8f6d01d0acc32833f78
parent4537fe124a1e1c163b6590221c207f128c47902c
FST: Make sure get_hw_modes() callback is set for hostapd

It looks like fst_wpa_obj::get_hw_modes would have been left
uninitialized in hostapd. It is not obviously clear why this would not
have caused issues earlier, but in any case, better make this set
properly to allow unexpected behavior should that function pointer ever
be used.

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