summaryrefslogtreecommitdiffstats
path: root/package/mac80211/files
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-10-18 11:42:42 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-10-18 11:42:42 +0000
commit93da7fdfa73abd3bf119bb427e26b3c690fe7618 (patch)
tree4911f2aca632df163a3171df10cf7ac11e93c3b6 /package/mac80211/files
parent0b26293543ccaa93f007409987e55863ffc9c851 (diff)
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
Diffstat (limited to 'package/mac80211/files')
-rw-r--r--package/mac80211/files/lib/wifi/mac80211.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/mac80211/files/lib/wifi/mac80211.sh b/package/mac80211/files/lib/wifi/mac80211.sh
index d834afea3..4bf035e5f 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