projects
/
openwrt
/
staging
/
blocktrron.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1a5863d
)
hostapd: do not register ubus objects for mesh interfaces
author
Felix Fietkau
<nbd@nbd.name>
Sat, 24 Feb 2018 20:21:09 +0000
(21:21 +0100)
committer
Felix Fietkau
<nbd@nbd.name>
Sat, 24 Feb 2018 20:33:22 +0000
(21:33 +0100)
Signed-off-by: Felix Fietkau <nbd@nbd.name>
package/network/services/hostapd/src/src/ap/ubus.c
patch
|
blob
|
history
diff --git
a/package/network/services/hostapd/src/src/ap/ubus.c
b/package/network/services/hostapd/src/src/ap/ubus.c
index 661617b79147048d94f47afb9535e1921bab0395..2c310adae265722026ba7294ff0c1e01e3a797e8 100644
(file)
--- 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;