hostapd: Do not terminate process on dynamic interface add failure
Limit the calls to eloop_terminate() to happen only for the initialization failure from the interfaces that we specified on the command line. This allows hostapd process to continue operating even if a dynamically added interface fails to start up. This allows the upper layer software to fix a configuration error and retry. Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>
This commit is contained in:
parent
66f0bdb465
commit
2b6623ab13
3 changed files with 7 additions and 1 deletions
|
@ -45,6 +45,8 @@ struct hapd_interfaces {
|
|||
gid_t ctrl_iface_group;
|
||||
struct hostapd_iface **iface;
|
||||
struct hostapd_dynamic_iface **dynamic_iface;
|
||||
|
||||
size_t terminate_on_error;
|
||||
};
|
||||
|
||||
enum hostapd_chan_status {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue