From: nbd Date: Thu, 18 Oct 2012 11:42:42 +0000 (+0000) Subject: mac80211: fix typo that broke specifying the phy name directly (deprecated) X-Git-Url: http://207.154.207.93/?a=commitdiff_plain;h=93da7fdfa73abd3bf119bb427e26b3c690fe7618;p=openwrt.git 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 --- 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