]> git.ipfire.org Git - thirdparty/hostap.git/commit
FST: Remove WPA_ASSERT from wpas_fst_send_action_cb()
authorJouni Malinen <j@w1.fi>
Sun, 29 Jan 2017 17:22:14 +0000 (19:22 +0200)
committerJouni Malinen <j@w1.fi>
Sun, 29 Jan 2017 17:22:14 +0000 (19:22 +0200)
commit0da355235e4752e0bed46ca617d752de656a5784
tree4f5e65eac340ad5413e2b191bd7612b4f64db69a
parent968dce9b13052140e516e58fe5f1ccdb3c137e85
FST: Remove WPA_ASSERT from wpas_fst_send_action_cb()

It was possible to hit this WPA_ASSERT when FST-MANAGER SESSION_REMOVE
command is exececuted when in not-associated state. In
CONFIG_EAPOL_TEST=y builds, this would result in the wpa_supplicant
process being terminated. Convert this WPA_ASSERT to a check that does
not terminate the process, but only rejects the command if wpa_s->bssid
does not match the da argument.

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