hostapd: Fix early init failure path
eloop deinit calls could trigger segmentation fault if the early error path is hit before eloop_init() gets called. Signed-off-by: Jouni Malinen <j@w1.fi>
This commit is contained in:
parent
976dfb3237
commit
cc27c8e680
2 changed files with 8 additions and 4 deletions
|
@ -53,6 +53,7 @@ struct hapd_interfaces {
|
|||
#ifndef CONFIG_NO_VLAN
|
||||
struct dynamic_iface *vlan_priv;
|
||||
#endif /* CONFIG_NO_VLAN */
|
||||
int eloop_initialized;
|
||||
};
|
||||
|
||||
enum hostapd_chan_status {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue