aboutsummaryrefslogtreecommitdiffstats
path: root/package/mac80211/files/lib/wifi/mac80211.sh
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2012-10-18 11:42:42 +0000
committerFelix Fietkau <nbd@openwrt.org>2012-10-18 11:42:42 +0000
commit07933a6644692b5e75bf5358039463fc718f05d6 (patch)
tree591d95024a255634cfcc1bbe6e7aded1f5d3b7e2 /package/mac80211/files/lib/wifi/mac80211.sh
parent6ca2970e4b4fa2e9e4eae4b3768ea3e3ecf94e14 (diff)
downloadupstream-07933a6644692b5e75bf5358039463fc718f05d6.tar.gz
upstream-07933a6644692b5e75bf5358039463fc718f05d6.tar.bz2
upstream-07933a6644692b5e75bf5358039463fc718f05d6.zip
mac80211: fix typo that broke specifying the phy name directly (deprecated)
SVN-Revision: 33853
Diffstat (limited to 'package/mac80211/files/lib/wifi/mac80211.sh')
-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 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