package/wpa_supplicant: handle CONFIG_CTRL_IFACE carefully
authorTian Yuanhao <tianyuanhao@aliyun.com>
Sat, 3 Apr 2021 02:23:16 +0000 (19:23 -0700)
committerArnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Tue, 6 Apr 2021 20:06:00 +0000 (22:06 +0200)
commitda80fd41563911cfa46aa94afd626310565251c2
tree7c08085641bc953980680e9855e7352894643ba4
parent008bd0afef8250add8e1831dc7e74d9f7283d5b8
package/wpa_supplicant: handle CONFIG_CTRL_IFACE carefully

When BR2_PACKAGE_WPA_SUPPLICANT_CTRL_IFACE is not set and
BR2_PACKAGE_WPA_SUPPLICANT_DBUS=y, CONFIG_CTRL_IFACE_DBUS_NEW will be
enabled by 's/^#\(CONFIG_CTRL_IFACE_DBUS_NEW\)/\1/' first, and then
disabled by 's/^\(CONFIG_CTRL_IFACE\)/#\1/'.

CONFIG_CTRL_IFACE_DBUS_NEW does not depend on CONFIG_CTRL_IFACE, except
for using it as a prefix. Fix this wrong behavior by adding '\>' after
CONFIG_CTRL_IFACE.

Signed-off-by: Tian Yuanhao <tianyuanhao@aliyun.com>
Tested-by: Nicolas Cavallari <nicolas.cavallari@green-communications.fr>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
package/wpa_supplicant/wpa_supplicant.mk