diff options
author | Felix Fietkau <nbd@nbd.name> | 2018-02-24 21:21:09 +0100 |
---|---|---|
committer | Felix Fietkau <nbd@nbd.name> | 2018-02-24 21:33:22 +0100 |
commit | 8f24653184536e1f8259bb43cffdae5673fb593a (patch) | |
tree | 6cd56650109ff7912c4f02250a244bfe5a3b6aa3 /package/network/services | |
parent | 1a5863d6d70032b46dbc0e14ae1abb29ac3e81a8 (diff) | |
download | upstream-8f24653184536e1f8259bb43cffdae5673fb593a.tar.gz upstream-8f24653184536e1f8259bb43cffdae5673fb593a.tar.bz2 upstream-8f24653184536e1f8259bb43cffdae5673fb593a.zip |
hostapd: do not register ubus objects for mesh interfaces
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'package/network/services')
-rw-r--r-- | package/network/services/hostapd/src/src/ap/ubus.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/package/network/services/hostapd/src/src/ap/ubus.c b/package/network/services/hostapd/src/src/ap/ubus.c index 661617b791..2c310adae2 100644 --- a/package/network/services/hostapd/src/src/ap/ubus.c +++ b/package/network/services/hostapd/src/src/ap/ubus.c @@ -938,6 +938,11 @@ void hostapd_ubus_add_bss(struct hostapd_data *hapd) char *name; int ret; +#ifdef CONFIG_MESH + if (hapd->conf->mesh & MESH_ENABLED) + return; +#endif + if (!hostapd_ubus_init()) return; |