]> git.ipfire.org Git - thirdparty/hostap.git/commit
FST: Use more robust interface-find for TEST_REQUEST
authorJouni Malinen <j@w1.fi>
Sun, 26 Jul 2015 15:44:39 +0000 (18:44 +0300)
committerJouni Malinen <j@w1.fi>
Sun, 26 Jul 2015 15:45:13 +0000 (18:45 +0300)
commitfa95b7c0739481e578b903260892b9bc212bddb2
treee21ad0bcd0737b08dc9c93a1ad711bbc0853db80
parent481fa8fb22b6e34887767c79e34ea2fc019e40bc
FST: Use more robust interface-find for TEST_REQUEST

It is possible for there to be multiple FST groups, so the hardcoded
mechanism of selecting the first one when sending out an event message
may not be sufficient. Get the interface from the caller, if available,
and if not, go through all groups in search of an interface to send the
event on.

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