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:
parent
e114c49cfc
commit
4a5deb9b9d
3 changed files with 0 additions and 14 deletions
|
@ -1581,7 +1581,6 @@ int hostapd_add_iface(struct hapd_interfaces *interfaces, char *buf)
|
|||
interfaces->count--;
|
||||
goto fail;
|
||||
}
|
||||
hapd_iface->init_done = 1;
|
||||
} else {
|
||||
/* Assign new BSS with bss[0]'s driver info */
|
||||
hapd = hapd_iface->bss[hapd_iface->num_bss - 1];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue