From: "Luis R. Rodriguez" <[email protected]> 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 <[email protected]> Cc: Kathy Giori <[email protected]> Cc: Mathieu Olivari <[email protected]> Cc: Jerome Proffit <[email protected]> Cc: Sujith Manoharan <[email protected]> Cc: Matthew McClintock <[email protected]> Signed-off-by: Luis R. Rodriguez <[email protected]> --- 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 <[email protected]> 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 [email protected] https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
