Get rid of direct hostapd_for_each_interface() calls
authorJouni Malinen <j@w1.fi>
Fri, 25 Dec 2009 18:12:26 +0000 (20:12 +0200)
committerJouni Malinen <j@w1.fi>
Fri, 25 Dec 2009 18:12:26 +0000 (20:12 +0200)
commit1b56c26c408d3d04cd5ab8eb46d8a0b5ee8a2f7e
tree0e05c0dfe6d0db16a42c19e8791fd5e0cbb4e8e7
parent70db2ab30816bb55d9fd9f9a94461480f22bd622
Get rid of direct hostapd_for_each_interface() calls

src/ap/*.c must not call functions in hostapd or wpa_supplicant
directories directly, so avoid this by using a callback function
pointer.
hostapd/main.c
src/ap/hostapd.h
src/ap/utils.c
src/ap/wpa_auth_glue.c
wpa_supplicant/ap.c