diff options
author | John Crispin <john@phrozen.org> | 2020-02-25 17:01:55 +0100 |
---|---|---|
committer | John Crispin <john@phrozen.org> | 2020-02-25 17:01:55 +0100 |
commit | d3b7838ebed98ae5cf064a3890b0fd3f16b9a664 (patch) | |
tree | 8f8cb782ff019307fb81cc9eb9e650fb07a98ee4 /package/network/services/hostapd/src | |
parent | e8fae62f6485c71a9b904b5c2783c56f373c0155 (diff) | |
download | upstream-d3b7838ebed98ae5cf064a3890b0fd3f16b9a664.tar.gz upstream-d3b7838ebed98ae5cf064a3890b0fd3f16b9a664.tar.bz2 upstream-d3b7838ebed98ae5cf064a3890b0fd3f16b9a664.zip |
hostapd: enhance wifi reload
Add a radio_config_id property. If the radio config changes return an error
upon receiving the reconf call.
Signed-off-by: John Crispin <john@phrozen.org>
Diffstat (limited to 'package/network/services/hostapd/src')
-rw-r--r-- | package/network/services/hostapd/src/src/ap/ubus.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/package/network/services/hostapd/src/src/ap/ubus.c b/package/network/services/hostapd/src/src/ap/ubus.c index e25c3294ee..5ed6e186a6 100644 --- a/package/network/services/hostapd/src/src/ap/ubus.c +++ b/package/network/services/hostapd/src/src/ap/ubus.c @@ -152,8 +152,7 @@ hostapd_bss_reload(struct ubus_context *ctx, struct ubus_object *obj, struct blob_attr *msg) { struct hostapd_data *hapd = container_of(obj, struct hostapd_data, ubus.obj); - hostapd_reload_config(hapd->iface); - hostapd_reload_iface(hapd->iface); + return hostapd_reload_config(hapd->iface, 1); } static int |