mac80211: fix typo that broke specifying the phy name directly (deprecated)
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Thu, 18 Oct 2012 11:42:42 +0000 (11:42 +0000)
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Thu, 18 Oct 2012 11:42:42 +0000 (11:42 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33853 3c298f89-4303-0410-b956-a3cf2f4a3e73

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

index d834afe..4bf035e 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