summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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