Initialize iface->sta_seen on allocation
[mech_eap.git] / src / ap / hostapd.h
index 76b0ca6..f58c965 100644 (file)
@@ -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 {
@@ -300,7 +301,9 @@ struct hostapd_data {
        struct dl_list nr_db;
 
        u8 lci_req_token;
+       u8 range_req_token;
        unsigned int lci_req_active:1;
+       unsigned int range_req_active:1;
 };
 
 
@@ -468,6 +471,7 @@ int hostapd_setup_interface(struct hostapd_iface *iface);
 int hostapd_setup_interface_complete(struct hostapd_iface *iface, int err);
 void hostapd_interface_deinit(struct hostapd_iface *iface);
 void hostapd_interface_free(struct hostapd_iface *iface);
+struct hostapd_iface * hostapd_alloc_iface(void);
 struct hostapd_iface * hostapd_init(struct hapd_interfaces *interfaces,
                                    const char *config_file);
 struct hostapd_iface *