From 07933a6644692b5e75bf5358039463fc718f05d6 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Thu, 18 Oct 2012 11:42:42 +0000 Subject: [PATCH] mac80211: fix typo that broke specifying the phy name directly (deprecated) SVN-Revision: 33853 --- package/mac80211/files/lib/wifi/mac80211.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.30.2