mac80211: fix typo that broke specifying the phy name directly (deprecated)
authorFelix Fietkau <nbd@openwrt.org>
Thu, 18 Oct 2012 11:42:42 +0000 (11:42 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Thu, 18 Oct 2012 11:42:42 +0000 (11:42 +0000)
SVN-Revision: 33853

package/mac80211/files/lib/wifi/mac80211.sh

index d834afea3b1900f22ae32cf69391cbcc57fd3329..4bf035e5f64a175466dc421c0c49d52e787acb3c 100644 (file)
@@ -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