From: Felix Fietkau 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://git.lede-project.org./?a=commitdiff_plain;h=07933a6644692b5e75bf5358039463fc718f05d6;p=openwrt%2Fstaging%2Flinusw.git mac80211: fix typo that broke specifying the phy name directly (deprecated) SVN-Revision: 33853 --- 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