summaryrefslogtreecommitdiff
path: root/package/mac80211
diff options
context:
space:
mode:
Diffstat (limited to 'package/mac80211')
-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