hostapd: add missing ubus ACL entries for AP+client (#13449)
authorFelix Fietkau <nbd@nbd.name>
Fri, 15 Sep 2023 18:38:45 +0000 (20:38 +0200)
committerFelix Fietkau <nbd@nbd.name>
Fri, 15 Sep 2023 18:42:56 +0000 (20:42 +0200)
Signed-off-by: Felix Fietkau <nbd@nbd.name>
package/network/services/hostapd/Makefile
package/network/services/hostapd/files/wpad_acl.json

index 0bf628af61a311c245a9ba506d3e62b558792507..5537500313e9dcf57338c428ed324e30af9c62a8 100644 (file)
@@ -5,7 +5,7 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=hostapd
-PKG_RELEASE:=2
+PKG_RELEASE:=3
 
 PKG_SOURCE_URL:=http://w1.fi/hostap.git
 PKG_SOURCE_PROTO:=git
index c77ccd8ea0c0bbd714b54a4a4b17db91cb8a460b..d00fd945ba5824321779d2d187aa4ff96fc9b69c 100644 (file)
@@ -3,6 +3,12 @@
        "access": {
                "service": {
                        "methods": [ "event" ]
+               },
+               "wpa_supplicant": {
+                       "methods": [ "phy_set_state", "phy_set_macaddr_list", "phy_status" ]
+               },
+               "hostapd": {
+                       "methods": [ "apsta_state" ]
                }
        },
        "publish": [ "hostapd", "hostapd.*", "wpa_supplicant", "wpa_supplicant.*" ],