Revert "bridge: Track inter-BSS usage"

This reverts commit 4345fe963e. That
introduced number of memory leaks and since the rest of the VLAN changes
did not yet go in, it is easier to revert this for now and bring back
the changes after fixes if there is sufficient interest for them in the
future.

Signed-off-by: Jouni Malinen <j@w1.fi>
This commit is contained in:
Jouni Malinen 2014-03-08 10:54:26 +02:00
parent 48ef12e75f
commit 226e3579f9
2 changed files with 8 additions and 154 deletions

View file

@ -24,7 +24,6 @@ enum wps_event;
union wps_event_data;
struct hostapd_iface;
struct hostapd_dynamic_iface;
struct hapd_interfaces {
int (*reload_config)(struct hostapd_iface *iface);
@ -37,7 +36,6 @@ struct hapd_interfaces {
int (*driver_init)(struct hostapd_iface *iface);
size_t count;
size_t count_dynamic;
int global_ctrl_sock;
char *global_iface_path;
char *global_iface_name;
@ -45,7 +43,6 @@ struct hapd_interfaces {
gid_t ctrl_iface_group;
#endif /* CONFIG_NATIVE_WINDOWS */
struct hostapd_iface **iface;
struct hostapd_dynamic_iface **dynamic_iface;
size_t terminate_on_error;
};
@ -358,16 +355,6 @@ struct hostapd_iface {
void (*scan_cb)(struct hostapd_iface *iface);
};
/**
* struct hostapd_dynamic_iface - hostapd per dynamically allocated
* or added interface data structure
*/
struct hostapd_dynamic_iface {
char parent[IFNAMSIZ + 1];
char iface[IFNAMSIZ + 1];
unsigned int usage;
};
/* hostapd.c */
int hostapd_for_each_interface(struct hapd_interfaces *interfaces,
int (*cb)(struct hostapd_iface *iface,