hostapd: remove unused struct hostapd_ubus_iface
Signed-off-by: Felix Fietkau <nbd@nbd.name>
This commit is contained in:
parent
da9d760ea1
commit
f0ac9afe69
2 changed files with 1 additions and 16 deletions
|
@ -30,16 +30,7 @@
|
||||||
int interface_added; /* virtual interface added for this BSS */
|
int interface_added; /* virtual interface added for this BSS */
|
||||||
unsigned int started:1;
|
unsigned int started:1;
|
||||||
unsigned int disabled:1;
|
unsigned int disabled:1;
|
||||||
@@ -392,6 +394,8 @@ struct hostapd_iface {
|
@@ -544,6 +546,7 @@ hostapd_alloc_bss_data(struct hostapd_if
|
||||||
struct hostapd_config *conf;
|
|
||||||
char phy[16]; /* Name of the PHY (radio) */
|
|
||||||
|
|
||||||
+ struct hostapd_ubus_iface ubus;
|
|
||||||
+
|
|
||||||
enum hostapd_iface_state {
|
|
||||||
HAPD_IFACE_UNINITIALIZED,
|
|
||||||
HAPD_IFACE_DISABLED,
|
|
||||||
@@ -544,6 +548,7 @@ hostapd_alloc_bss_data(struct hostapd_if
|
|
||||||
struct hostapd_bss_config *bss);
|
struct hostapd_bss_config *bss);
|
||||||
int hostapd_setup_interface(struct hostapd_iface *iface);
|
int hostapd_setup_interface(struct hostapd_iface *iface);
|
||||||
int hostapd_setup_interface_complete(struct hostapd_iface *iface, int err);
|
int hostapd_setup_interface_complete(struct hostapd_iface *iface, int err);
|
||||||
|
|
|
@ -30,10 +30,6 @@ struct hostapd_data;
|
||||||
#include <libubox/avl.h>
|
#include <libubox/avl.h>
|
||||||
#include <libubus.h>
|
#include <libubus.h>
|
||||||
|
|
||||||
struct hostapd_ubus_iface {
|
|
||||||
struct ubus_object obj;
|
|
||||||
};
|
|
||||||
|
|
||||||
struct hostapd_ubus_bss {
|
struct hostapd_ubus_bss {
|
||||||
struct ubus_object obj;
|
struct ubus_object obj;
|
||||||
struct avl_tree banned;
|
struct avl_tree banned;
|
||||||
|
@ -50,8 +46,6 @@ void hostapd_ubus_notify(struct hostapd_data *hapd, const char *type, const u8 *
|
||||||
|
|
||||||
#else
|
#else
|
||||||
|
|
||||||
struct hostapd_ubus_iface {};
|
|
||||||
|
|
||||||
struct hostapd_ubus_bss {};
|
struct hostapd_ubus_bss {};
|
||||||
|
|
||||||
static inline void hostapd_ubus_add_iface(struct hostapd_iface *iface)
|
static inline void hostapd_ubus_add_iface(struct hostapd_iface *iface)
|
||||||
|
|
Loading…
Reference in a new issue