mirror of
https://github.com/openwrt/openwrt.git
synced 2025-02-12 05:35:38 +00:00
hostapd: do not register ubus objects for mesh interfaces
Signed-off-by: Felix Fietkau <nbd@nbd.name>
This commit is contained in:
parent
1a5863d6d7
commit
8f24653184
@ -938,6 +938,11 @@ void hostapd_ubus_add_bss(struct hostapd_data *hapd)
|
|||||||
char *name;
|
char *name;
|
||||||
int ret;
|
int ret;
|
||||||
|
|
||||||
|
#ifdef CONFIG_MESH
|
||||||
|
if (hapd->conf->mesh & MESH_ENABLED)
|
||||||
|
return;
|
||||||
|
#endif
|
||||||
|
|
||||||
if (!hostapd_ubus_init())
|
if (!hostapd_ubus_init())
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user