package/wpa_supplicant: Simplify D-Bus support.
authorNicolas Cavallari <nicolas.cavallari@green-communications.fr>
Wed, 10 Feb 2021 18:50:17 +0000 (19:50 +0100)
committerArnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Sat, 13 Feb 2021 12:42:00 +0000 (13:42 +0100)
wpa_supplicant 2.8 dropped support for the old D-Bus interface, so
remove mentions of it and rename DBUS_NEW variables to just DBUS.

Signed-off-by: Nicolas Cavallari <nicolas.cavallari@green-communications.fr>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
package/wpa_supplicant/Config.in
package/wpa_supplicant/wpa_supplicant.mk

index 9553dcf7df79797b099029d5196d0756b6e83449..3c986ff4ba99b03d453e3d0fabe190dbed1fbfb8 100644 (file)
@@ -154,6 +154,6 @@ config BR2_PACKAGE_WPA_SUPPLICANT_DBUS_INTROSPECTION
        bool "Introspection support"
        depends on BR2_PACKAGE_WPA_SUPPLICANT_DBUS
        help
-         Add introspection support for new DBus control interface.
+         Add introspection support for the DBus control interface.
 
 endif
index f4ed74abc3f41ccb6f50fb4b08d1b0fcfe773f44..b7bdc4e0af01c4a8749e8895035fca1e1b674d59 100644 (file)
@@ -13,8 +13,7 @@ WPA_SUPPLICANT_LICENSE_FILES = README
 WPA_SUPPLICANT_CPE_ID_VENDOR = w1.fi
 WPA_SUPPLICANT_CONFIG = $(WPA_SUPPLICANT_DIR)/wpa_supplicant/.config
 WPA_SUPPLICANT_SUBDIR = wpa_supplicant
-WPA_SUPPLICANT_DBUS_OLD_SERVICE = fi.epitest.hostap.WPASupplicant
-WPA_SUPPLICANT_DBUS_NEW_SERVICE = fi.w1.wpa_supplicant1
+WPA_SUPPLICANT_DBUS_SERVICE = fi.w1.wpa_supplicant1
 WPA_SUPPLICANT_CFLAGS = $(TARGET_CFLAGS) -I$(STAGING_DIR)/usr/include/libnl3/
 WPA_SUPPLICANT_LDFLAGS = $(TARGET_LDFLAGS)
 WPA_SUPPLICANT_SELINUX_MODULES = networkmanager
@@ -146,8 +145,8 @@ WPA_SUPPLICANT_MAKE_ENV = \
 WPA_SUPPLICANT_CONFIG_ENABLE += CONFIG_CTRL_IFACE_DBUS_NEW
 define WPA_SUPPLICANT_INSTALL_DBUS_NEW
        $(INSTALL) -m 0644 -D \
-               $(@D)/wpa_supplicant/dbus/$(WPA_SUPPLICANT_DBUS_NEW_SERVICE).service \
-               $(TARGET_DIR)/usr/share/dbus-1/system-services/$(WPA_SUPPLICANT_DBUS_NEW_SERVICE).service
+               $(@D)/wpa_supplicant/dbus/$(WPA_SUPPLICANT_DBUS_SERVICE).service \
+               $(TARGET_DIR)/usr/share/dbus-1/system-services/$(WPA_SUPPLICANT_DBUS_SERVICE).service
 endef
 
 ifeq ($(BR2_PACKAGE_WPA_SUPPLICANT_DBUS_INTROSPECTION),y)
@@ -220,7 +219,6 @@ define WPA_SUPPLICANT_INSTALL_DBUS
        $(INSTALL) -m 0644 -D \
                $(@D)/wpa_supplicant/dbus/dbus-wpa_supplicant.conf \
                $(TARGET_DIR)/etc/dbus-1/system.d/wpa_supplicant.conf
-       $(WPA_SUPPLICANT_INSTALL_DBUS_OLD)
        $(WPA_SUPPLICANT_INSTALL_DBUS_NEW)
 endef
 endif