]> git.ipfire.org Git - thirdparty/hostap.git/commit
FST: Use more robust interface-find for event messages
authorJouni Malinen <j@w1.fi>
Sun, 26 Jul 2015 10:39:55 +0000 (13:39 +0300)
committerJouni Malinen <j@w1.fi>
Sun, 26 Jul 2015 15:12:09 +0000 (18:12 +0300)
commit481fa8fb22b6e34887767c79e34ea2fc019e40bc
treee9a9dc21055831b3df2b6be9f50fe1d52a327ced
parent1f9427c9cd2d7d9b2c8f392d99a54c3db4750a98
FST: Use more robust interface-find for event messages

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_ctrl_iface.c