From: "Luis R. Rodriguez" <mcg...@qca.qualcomm.com> The mac80211.sh script uses readlink -f which requires
CONFIG_BUSYBOX_CONFIG_READLINK CONFIG_BUSYBOX_CONFIG_FEATURE_READLINK_FOLLOW Without these wifi detect will fail and users end up puzzled with error messages such as: PHY for wifi device radio0 not found This is due to the fact that without these options mac80211.sh readlink -f command will fail and not assign the appropriate phy for the devices. This fixes initial configuration with OpenWrt with the as 'wifi detect > /etc/config/wireless' depends on mac80211.sh. Cc: Kalle Valo <kv...@qca.qualcomm.com> Cc: Kathy Giori <kgi...@qca.qualcomm.com> Cc: Mathieu Olivari <math...@qca.qualcomm.com> Cc: Jerome Proffit <jprof...@qca.qualcomm.com> Cc: Sujith Manoharan <c_man...@qca.qualcomm.com> Cc: Matthew McClintock <mmccl...@qca.qualcomm.com> Signed-off-by: Luis R. Rodriguez <mcg...@qca.qualcomm.com> --- package/kernel/mac80211/Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/package/kernel/mac80211/Makefile b/package/kernel/mac80211/Makefile index 6f25413..bf03f56 100644 --- a/package/kernel/mac80211/Makefile +++ b/package/kernel/mac80211/Makefile @@ -56,12 +56,14 @@ define KernelPackage/mac80211/Default URL:=http://linuxwireless.org/ MAINTAINER:=Felix Fietkau <n...@openwrt.org> DEPENDS:=@(!(TARGET_avr32||TARGET_ps3||TARGET_pxcab)||BROKEN) + DEPENDS+= +@BUSYBOX_CONFIG_READLINK +@BUSYBOX_CONFIG_FEATURE_READLINK_FOLLOW endef define KernelPackage/cfg80211 $(call KernelPackage/mac80211/Default) TITLE:=cfg80211 - wireless configuration API DEPENDS+= +iw + DEPENDS+= +@BUSYBOX_CONFIG_READLINK +@BUSYBOX_CONFIG_FEATURE_READLINK_FOLLOW FILES:= \ $(PKG_BUILD_DIR)/compat/compat.ko \ $(PKG_BUILD_DIR)/net/wireless/cfg80211.ko -- 1.7.10.4 _______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel