From 12a00edef8bd8c6983a2fbf6734afea745c462ed Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Thu, 18 Oct 2012 11:42:42 +0000 Subject: mac80211: fix typo that broke specifying the phy name directly (deprecated) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33853 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/mac80211/files/lib/wifi/mac80211.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'package/mac80211') diff --git a/package/mac80211/files/lib/wifi/mac80211.sh b/package/mac80211/files/lib/wifi/mac80211.sh index d834afea3b..4bf035e5f6 100644 --- a/package/mac80211/files/lib/wifi/mac80211.sh +++ b/package/mac80211/files/lib/wifi/mac80211.sh @@ -186,7 +186,7 @@ mac80211_start_vif() { lookup_phy() { [ -n "$phy" ] && { - [ -d /sys/class/ieee80211/phy ] && return + [ -d /sys/class/ieee80211/$phy ] && return } local devpath -- cgit v1.2.3