hostapd: Simplify interface initialization

Use hostapd_interface_init2() for all interfaces instead of the
previously used different paths for per-interface-config and
per-BSS-config cases. This moves the calls to hostapd_driver_init() and
hostapd_setup_interface() to happen after all configuration files have
been read.

Signed-hostap: Jouni Malinen <j@w1.fi>
This commit is contained in:
Jouni Malinen 2013-11-03 13:28:17 +02:00
parent e114c49cfc
commit 4a5deb9b9d
3 changed files with 0 additions and 14 deletions

View file

@ -250,7 +250,6 @@ struct hostapd_iface {
char *config_fname;
struct hostapd_config *conf;
char phy[16]; /* Name of the PHY (radio) */
int init_done;
size_t num_bss;
struct hostapd_data **bss;